How to install google analatycs?

6 replies
I am trying to install my google analatycs code into my website. Google says to install the code on every page just before the <body> tag at the bottom of my content however nowhere on my page do I see The body tag. I do see a <tbody> tag in the middle of my page. Is that where i should install the code?

Cheers
#analatycs #google #install
  • Profile picture of the author Jared Alberghini
    right before your </body> tag as google says... (not the <body> tag...)

    the last two lines in your html code should look like this:

    </body>
    </html>

    if it doesn't, your html is messed up

    - Jared
    Signature

    P.S.

    Join The Future: Telekinetic Marketing

    {{ DiscussionBoard.errors[303281].message }}
    • Profile picture of the author jan roos
      My code ends with this.

      <p align="left"><font face="Georgia"><span style=
      "FONT-SIZE: 13pt"><img title=""
      style="WIDTH: 180px; HEIGHT: 135px"
      alt=""
      src="images/My%20Picture.jpg"
      border="0"></span></font></p>

      <p align="center">&nbsp;</p>

      <p align="center">&nbsp;</p>

      <p align="center">&nbsp;</p>

      <p align="center">&nbsp;</p>

      <p align="center">&nbsp;</p>

      Any ideas of how I can fix this issue?
      Signature

      I'll teach you how to make money like a Mamba.

      Sign up for the free money mambas newsletter!

      {{ DiscussionBoard.errors[303302].message }}
      • Profile picture of the author jan roos
        I found the feature in xsitepro that installs the code automatically on all pages. Thanks for the help.
        Signature

        I'll teach you how to make money like a Mamba.

        Sign up for the free money mambas newsletter!

        {{ DiscussionBoard.errors[303326].message }}
      • Profile picture of the author Jim M
        Hi,

        Can I ask what software are you using to generate your webpages?

        What your showing isn't a proper representation of a page.

        I see you got your answer as I was writing this - goog luck with you analytics install.

        If you just want to track links budurl.com is excellent
        Signature
        Jim Montgomery www.thepublishing.press
        [/I]
        {{ DiscussionBoard.errors[303331].message }}
  • Profile picture of the author Jared Alberghini
    short answer... right after your code you have there, paste your google analytics there, and add this at the very end:

    </body>
    </html>

    Now go back through your code and if you find </body></html> anywhere in your document, delete it.
    Signature

    P.S.

    Join The Future: Telekinetic Marketing

    {{ DiscussionBoard.errors[303324].message }}
  • Profile picture of the author Dan Briffa
    It takes a little while for it to start recieving data. You give it around 24 hours before you see anything.
    {{ DiscussionBoard.errors[303376].message }}

Trending Topics