+ Reply to Thread
Results 1 to 4 of 4

Thread: Inserting Google Analytics code into site
      
   

  1. #1
    proactivator's Avatar
    proactivator is offline First Lieutenant
    Join Date
    Mar 2007
    Posts
    168

    Default Inserting Google Analytics code into site

    I see the closed sticky thread on this subject states that one should insert the the relevant html into the end of body tag, but google says that it should go immediately before the body tag. How to do in BV please.

  2. #2
    Dimitri is offline Staff Sergeant
    Join Date
    Aug 2007
    Posts
    44

    Default Re: Inserting Google Analytics code into site

    I have the same question please.
    When I followed the instructions, google didn't seem to be able to track anything and it was only when I added the code into "inside body tag" (I tried every other and no use) that google started tracking.
    However, by doing that, a friend informed me that he could see this code above my banner.
    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")); >
    I couldn't see it but I could see a small space above my banner and the symbol... >
    I have removed the code from my index page but I have left it on another page for you to see http://www.earthsbeautytours.com/workshop_lewis.html

    My main index page (without the google code) is www.earthsbeautytours.com

    Please help to clarify this.

  3. #3
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,565

    Default Re: Inserting Google Analytics code into site

    Works perfectly in 'end of body'
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  4. #4
    Dimitri is offline Staff Sergeant
    Join Date
    Aug 2007
    Posts
    44

    Default Re: Inserting Google Analytics code into site

    Quote Originally Posted by Marincky View Post
    Works perfectly in 'end of body'
    It didn't for me.
    I waited for a week and google hadn't caught it. As soon as I added it into "inside body tag", the very next time it was located by google.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49