Results 1 to 14 of 14

Google Analytics: Where do I put the code?

This is a discussion on Google Analytics: Where do I put the code? within the General Discussion forums, part of the vBSEO SEO Plugin category; I currently have a forum that's running Vbulletin 3.8.4 and VBseo 3.3.0. I was recently approach by a company that ...

  1. #1
    Member Metalgearsolid_x's Avatar
    Real Name
    unknown
    Join Date
    Oct 2008
    Posts
    30
    Liked
    0 times

    Google Analytics: Where do I put the code?

    I currently have a forum that's running Vbulletin 3.8.4 and VBseo 3.3.0. I was recently approach by a company that wants to buy my site. They want to know my traffic info from google, so they provided me with a google analytics script. Now, where do I put this code? I think I should already have this script somewhere since VBseo uses this. Am I correct? If yes, Do I simply put the new code and remove the old? Your help is appreciated.

    thanks.

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    You can add your Google Analytics code within vBSEO Cp . Please look for Enter your Google Analytics Code setting.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    0 times
    Blog Entries
    1
    If you are having quite good natural traffic - from google search engine -
    do not add google analytic to your site
    if you are very sure, the company approaching to purchase can be trusted go ahead. I have seen real life examples of natural traffic dropping upto 99% after adding analytic program from google
    | F | U | T | U | R | E |

  4. #4
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,267
    Liked
    558 times
    Quote Originally Posted by Future View Post
    I have seen real life examples of natural traffic dropping upto 99% after adding analytic program from google
    Why would this be?
    Juan Muriente / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Member Metalgearsolid_x's Avatar
    Real Name
    unknown
    Join Date
    Oct 2008
    Posts
    30
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    You can add your Google Analytics code within vBSEO Cp . Please look for Enter your Google Analytics Code setting.
    thanks. I did . What does it mean by UA-9999-1 format?



    Quote Originally Posted by Future View Post
    If you are having quite good natural traffic - from google search engine -
    do not add google analytic to your site
    if you are very sure, the company approaching to purchase can be trusted go ahead. I have seen real life examples of natural traffic dropping upto 99% after adding analytic program from google
    Future, I think your post makes a lot of sense. I did use google analytics in past, and it completely messed up my ranking on google (went from being 8th to 200th)! So, I'm not sure what to do now.. I really don't want to plug the code in and lose the ranking... I have VERY good natural traffic right now and ranked no. 1. .. what should I do now?

  6. #6
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    The UA-XXXX is your analytics number.
    The Forum Hosting - Forum Hosting from the Forum Experts

  7. #7
    Member Metalgearsolid_x's Avatar
    Real Name
    unknown
    Join Date
    Oct 2008
    Posts
    30
    Liked
    0 times
    Quote Originally Posted by Michael Biddle View Post
    The UA-XXXX is your analytics number.
    number? i was given a paragraph of code starts with /script ? where do I put that?

  8. #8
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Post your exact code here please.
    The Forum Hosting - Forum Hosting from the Forum Experts

  9. #9
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,267
    Liked
    558 times
    Quote Originally Posted by Michael Biddle View Post
    Post your exact code here please.
    ...or send it via private message if you don't feel comfortable posting it in the public forums.
    Juan Muriente / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  10. #10
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    You were likely given the full code block. Something that looks like:

    Code:
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-xxxxxx-xx");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    the number starting with ua in red above is all you want to enter into vbseo CP. vBSEO automatically adds the script tags when it processes your pages.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #11
    Member Metalgearsolid_x's Avatar
    Real Name
    unknown
    Join Date
    Oct 2008
    Posts
    30
    Liked
    0 times
    Quote Originally Posted by Michael Biddle View Post
    Post your exact code here please.
    Quote Originally Posted by Juan Muriente View Post
    ...or send it via private message if you don't feel comfortable posting it in the public forums.
    Thanks mike. yeah, I was feeling a bit nervous about posting it publicly . It's VERY similar to what Brian posted down below.

    Quote Originally Posted by Brian Cummiskey View Post
    You were likely given the full code block. Something that looks like:

    Code:
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-xxxxxx-xx");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    the number starting with ua in red above is all you want to enter into vbseo CP. vBSEO automatically adds the script tags when it processes your pages.
    you're 100% correct. That's what I was sent. So, I simply plug the number in to the VBseo admincp , correct? Anything else? Do I take the risk of losing my ranking on google by doing so brian?

  12. #12
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    Correct, just plug in that number in the correct field in vbseocp and vBSEO will do the rest. There is no ranking issues associated with it at all.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  13. #13
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,998
    Liked
    11 times
    Personally, I'd be fairly uncomfortable with running someone else's analytics on my pages.

    You'll also need to upload a file/put something in your headinclude so that Google can verify that these other people are allowed to do it.

  14. #14
    Junior Member
    Real Name
    Ryan
    Join Date
    Jul 2008
    Posts
    11
    Liked
    0 times
    i installed livestate and put the numeber inside it in asmincp
    but it doesnt work!!just shows me a blank page!!
    shuld i have put the code in templet?
    i mean this code:
    Code:
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "vBulletin SEO: The vBSEO Solution.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-xxxxxx-xx");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    i put the code into the hack(live state) and also i set the vbseo (like picture above) but it doesnt work.
    shuld i have put the code inside of my templet?or any things els?

Similar Threads

  1. New Google Analytics code
    By hiken in forum Sitemap Features Archive
    Replies: 1
    Last Post: 08-21-2008, 09:20 PM
  2. New Google Analytics Code
    By woostar in forum General Discussion
    Replies: 34
    Last Post: 05-11-2008, 07:01 AM
  3. How do I add the Google Analytics Code?
    By Lammypie in forum General Discussion
    Replies: 10
    Last Post: 05-22-2006, 09:08 PM
  4. 2.2.2/2.3.0 Google Analytics Code
    By Keith Cohen in forum Bug Reporting
    Replies: 4
    Last Post: 12-08-2005, 01:11 PM
  5. Finding my Google Analytics Code
    By Michael in forum Troubleshooting
    Replies: 1
    Last Post: 11-21-2005, 04:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •