Jump to content
  • 0

Problem z Google Analytics


morawcik

Question

Hej,

W Google Analytics utworzyłem sobie wszystko (konto, usługa etc) i dodałem identyfikator do modułu Google Analytics. Na stronie pojawił się poniższy kod (identyfikator jest ten sam co w Google Analytics) ale nie jest przesyłany żaden ruch. Ktoś mógłbym mi pomóc?

(window.gaDevIds=window.gaDevIds||[]).push('XXX');
(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', 'G-XXXXXXX', 'auto');
ga('set', 'userId', '4');
ga('send', 'pageview');
    
ga('require', 'ec');

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...