Results 1 to 4 of 4

Thread: Inserting Google Analytics code into site
      
   

  1. #1
    Join Date
    Mar 2007
    Posts
    178

    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
    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
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,539

    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
    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
  •