Help installing Google Analytics code

Discussion in 'CSS' started by SpiderMonkey85, Dec 3, 2007.

  1. #1
    Can somebody tell me if my code is in the right place? The site is edensigns.com. It's been around 28 hours since I installed the code, but I still can't see any google analytics data.
     
    SpiderMonkey85, Dec 3, 2007 IP
  2. KatieK

    KatieK Active Member

    Messages:
    116
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Nope, your GA code will not work where it is. In fact, your code needs quite a few changes. At a minimum, you need to add the following elements:

    <html>
    <head>
    Code (markup):
    Add the above 2 lines to the very beginning of your code.

    </head>
    <body>
    Code (markup):
    Add the above 2 lines just after your "<meta ... />" tag.

    </body>
    </html>
    Code (markup):
    Add the above 2 lines to the very end of the document.

    Then move your Google Analytics code to just before the </body>
    tag. Try that and wait a day or so.
     
    KatieK, Dec 3, 2007 IP
    SpiderMonkey85 likes this.
  3. SpiderMonkey85

    SpiderMonkey85 Peon

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks. Rep given.
     
    SpiderMonkey85, Dec 3, 2007 IP
  4. SpiderMonkey85

    SpiderMonkey85 Peon

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just wanted to let you know that the GA code actually works where it is. I didn't make those changes to the code. It just needed some more time.
     
    SpiderMonkey85, Dec 4, 2007 IP