I'm having trouble getting my google analytics to work.

Discussion in 'Google Analytics' started by OpenConnect, Mar 7, 2011.

  1. #1
    I posted the code just before </body> in the header and it didn't work. I tried doing the same in the footer. Does anyone have suggestion as to why this isn't working and what I could do to get it to start working??
     
    OpenConnect, Mar 7, 2011 IP
  2. carleisenstein

    carleisenstein Peon

    Messages:
    253
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You shouldn't have a </body> in your header. Are you sure your page is put together properly? Also - how long are you waiting before you decide its not working.
     
    carleisenstein, Mar 7, 2011 IP
  3. Grimm

    Grimm Peon

    Messages:
    3,072
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you reckon you've posted it correctly within the header then you've just prolly assumed that Google Analytics works instantaneously. Like what the guy above asked, how long have you waited before you assumed that the tracker wasn't working?
     
    Grimm, Mar 8, 2011 IP
  4. backendbuddy

    backendbuddy Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    it should be place before /header
     
    backendbuddy, Mar 9, 2011 IP
  5. mandark7

    mandark7 Peon

    Messages:
    65
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    1. It goes before </head> not </body>
    2. Wait at least a day or two for it to start working.
     
    mandark7, Mar 9, 2011 IP
  6. PsHouse

    PsHouse Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I have noticed that my Analytics updates every ~12hours. You should wait at least that amount of time.
    What status is the code showing. If it is receiving data you are fine, just have to wait for the 12hours to pass
    to start logging data.
     
    PsHouse, Mar 9, 2011 IP
  7. gb-translation

    gb-translation Member

    Messages:
    101
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #7
    As an alternative, check out getclicky.com. It updates in Real Time and is a lot easier on the eye than the google tool. I use it on various websites and could not be happier!
     
    gb-translation, Mar 10, 2011 IP
  8. talentsfromindia

    talentsfromindia Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    The format should be checked properly of the tag which you have inserted and also look for the spaces it may not accept it because of that too.
     
    talentsfromindia, Mar 10, 2011 IP
  9. kgondewar

    kgondewar Peon

    Messages:
    148
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    just paste that code before </head>
     
    kgondewar, Mar 10, 2011 IP
  10. Williamtraffic420

    Williamtraffic420 Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Jyst paste the code before head and even check the format
     
    Williamtraffic420, Mar 11, 2011 IP
  11. Insight

    Insight Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    What has worked for me over the years is to have the code pasted at the bottom of the page, just before the </body> and </html> tags. This way your page would load faster, since the markup is interpreted from top to bottom.
     
    Insight, Mar 15, 2011 IP