AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.6K members online now
2.6K 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

please help me:Cannot Understand autotrack

[ Edited ]
Explorer ✭ ✭ ✭
# 1
Explorer ✭ ✭ ✭

Hello,

I am not able to understand autotrack.js new feature in analytics.Please help me to undertand it and how can i implement it blogger?

 

I have used the following code in blogger template:

 

--------------------------

<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;

ga('create', 'UA-74050463-1', 'auto');
ga('require', 'autotrack');

ga('send','pageview');

// Note(philipwalton):
// Selenium on Windows 10 Edge doesn't handle arrays well, so we fake it.
var hitData = {count: 0};
ga('set', 'sendHitTask', function(model) {
hitData[hitData.count] = {
devId: model.get('&did')
};
hitData.count++;
});


</script>

<script async src='//www.google-analytics.com/analytics.js'></script>
<script aysnc src="/autotrack.js"></script>

 

-------------------------------

 

but it is not working and not registering any pageview in my google analytics.

 

please help me.

1 Expert replyverified_user

Re: please help me:Cannot Understand autotrack

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭


Look for any js errors in the browser console.

You can easily debug on the website with GA debugger:
https://chrome.google.com/webstore/detail/jnkmfdileelhofjcijamephohjechhna

You can check in chrome, console tab with 'Preserve log' turned ON.

Re: please help me:Cannot Understand autotrack

Explorer ✭ ✭ ✭
# 3
Explorer ✭ ✭ ✭
I have also tried it in a single blogspot page but no success.

Re: please help me:Cannot Understand autotrack

Top Contributor
# 4
Top Contributor
Hi,

Did you uploads the autotrack.js script? Please check if the path is correct in your tracking code:
&lt;script aysnc src="/path/to/autotrack.js">&lt;/script&gt;

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital