Analytics
2K members online now
2K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

No HTTP response detected Tracking Analytics

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

I have a problem tracking the google analytic script in my website http://twigashoes.com (its a prestashop and it's in maintenance already, but I tried in live version and happens the same).

 

pgC5hFS

 

I did the recommended action:


Missing HTTP Response

Missing HTTP Response denotes that, while the Google Analytics code was detected in the page source, the script itself did not execute. Each time the Google Analytics script executes, we expect an HTTP Response carrying the tracking request to Google’s servers.
This means that the Google Analytics code is not implemented properly on the page and no data will be collected.

Recommended Action: Reinstall the Google Analytics snippet by removing the current iteration, copy a new version from the Analytics interface, and insert that version into the site.

 

 

-------


But still no working Smiley Sad


I tried to insert the code by module and coding.

 

Someone know what is happening?

Cheers

 

 

1 Expert replyverified_user

Re: No HTTP response detected Tracking Analytics

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭
Try adding ga('send', 'pageview'); on the line directly after ga('require', 'ec');

Re: No HTTP response detected Tracking Analytics

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hello,

Thanks for your fast answer but I don't see the ga('require', 'ec');

My code has the ga('send', 'pageview');

By the other way, I tried to create a new account but it happens the same.

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-77447163-1', 'auto');
ga('send', 'pageview');

</script>

Thanks

Re: No HTTP response detected Tracking Analytics

Top Contributor
# 4
Top Contributor
Hi, Pedro S,

You GA tracking snippet seems to be buried amongst other JS, and it's also loading at the very bottom of the page. It's best if it's loaded just before the closing </head> tag. Are you able to move it there?
Nicky Yuen, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.
Find me on: Google+ | LinkedIn

Re: No HTTP response detected Tracking Analytics

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Hello,

Thanks for your reply.

If I add the code inside <head></head> the webiste stopts to work.

Cheers,

Re: No HTTP response detected Tracking Analytics

[ Edited ]
Follower ✭ ✭ ☆
# 6
Follower ✭ ✭ ☆

Hello Pedro,

Looks like you are using Prestashop as your CMS...In the Prestashop back office, navigate to the Modules panel, look for Google Analytics using the filter box on the top left. If nothing shows up, chances are the module is named ganalytics, so try that one as well. Once you locate it, hit install.

Here you will enter your UA Tracking ID (UA-77447163-1)
Paste your tracking ID and make sure “Universal analytics active” is checked.

Further references: https://www.youtube.com/watch?v=u7MmlyD6ln0


Hope this helps,
Grant

Re: No HTTP response detected Tracking Analytics

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
Hello,

Sorry but it was the first that I tried..

Cheers,