3.6K members online now
3.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

please help me:Cannot Understand autotrack

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


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>||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;

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


// 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')


<script async src='//'></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

Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭

Look for any js errors in the browser console.

You can easily debug on the website with GA debugger:

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

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