Announcement

Collapse
No announcement yet.

Inserting Google Analytics code into site

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
    http://www.jamesbartondesign.com

  • #2
    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.

    Comment


    • #3
      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.

      Comment


      • #4
        Re: Inserting Google Analytics code into site

        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.

        Comment

        Working...
        X