should google analytics works ? because in the real time i cant see any visitors....but in vBulletin i see 5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mekhamata
    New Member
    • May 2015
    • 25
    • 5.1.x

    should google analytics works ? because in the real time i cant see any visitors....but in vBulletin i see 5

    should google analytics works ? because in the real time i cant see any visitors....but in vBulletin i see 5
  • glennrocksvb
    Former vBulletin Developer
    • Mar 2011
    • 4011
    • 5.7.X

    #2
    Did you exclude the <script> </script> tags when you pasted the analytics code in AdminCP?

    Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

    Comment

    • mekhamata
      New Member
      • May 2015
      • 25
      • 5.1.x

      #3
      this is the code i paste:
      Code:
      <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','//www.google-analytics.com/analytics.js','ga');
      
        ga('create', 'UA-xxxxxxxxxxxxx', 'auto');
        ga('send', 'pageview');
      
      </script>

      Comment

      • mekhamata
        New Member
        • May 2015
        • 25
        • 5.1.x

        #4
        ah ok i excluded the tags....

        Comment

        Related Topics

        Collapse

        Working...