Plz help me with google Analytics..

Discussion in 'vBulletin' started by ishaan786, Apr 3, 2011.

  1. #1
    Hello All,

    I am using Vbulletin 4.0.8

    i am trying to set google Analytics.

    can you anyone tell me

    where did i put google Analytics code ?

    this is ma code

    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-22494147-1']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>
    Code (markup):

    [​IMG]


    Thank you
     
    ishaan786, Apr 3, 2011 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    You could just put it in your footer template if you want...
     
    digitalpoint, Apr 4, 2011 IP
  3. hafizahmedraza

    hafizahmedraza Active Member

    Messages:
    141
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #3
    Why are you interested to put in?

    I mean what are benefits to put them?
     
    hafizahmedraza, Apr 6, 2011 IP
  4. JPMiddleton

    JPMiddleton Well-Known Member

    Messages:
    1,728
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    115
    #4
    Analytics is useful for any site, forums included.
     
    JPMiddleton, Apr 7, 2011 IP