In-page analytics requires ga.js instead of analytics.js -


recently added ga('require', 'linkid', 'linkid.js'); in analytics code.

this source code.

 (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','//www.google-analytics.com/analytics.js','ga');    ga('create', 'ua-24190***-7', 'whitebeartest.com');   ga('require', 'linkid', 'linkid.js');   ga('send', 'pageview'); 

but when tried in-page analytics,it requires ga.js

i think ga.js downward compatibile of analytics.js

how can use in-page analytics??

we've identified problems in setup. these may cause problems loading in-page analytics. site doesn't load ga.js google. if host google tracking code on own servers, isn't updated automatically , can miss important changes. didn't find tracking snippet on site. in-page analytics cannot load. please make sure have tracking installed correctly. if snippet included in separate javascript file, you'll have manually check being loaded correctly. 

you have me stumped on 1 here ideas:

  1. did remember enable enhanced link attribution in property settings? enhanced link attribution

  2. check source code on site running both classic , universal tracking code in there have misplaced .push someplace?

  3. is account still set classic analytics , trying use universal analytics tracking code? ga.js classic analytics, analytics.js universal analytics. universal analytics upgrade center


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -