Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am really confused with this one, I added the Google Analytics code in my page below the </head> or before </body> but the code is not being marked as connected inside the analytics panel.

I tested it with the Google analytics debug plug-in and it seems to connect appropriately. Any ideas please?

share|improve this question
    
Was this after the <body> tag? –  Prasad Aug 7 at 12:20
    
In general yes the code is within <body> </body> tags –  user3127632 Aug 7 at 12:32
    
Do you mean the data isn't showing in analytics? That takes at least a day to start appearing. –  Rob Aug 7 at 13:07
    
it's there for about half month and no data :/ –  user3127632 Aug 7 at 16:00

2 Answers 2

up vote 2 down vote accepted

You have not added the tag in the correct place, it should be with the <head> </head> tags. This could be the reason why it isnt tracking.

Also if your are using the Tag Assistant plugin for Chrome, it should have pointed this error out to you, did it not?

Have you double checked you have pasted in the correct code? Sounds obvious but had a client who had made this mistake before, missed of a character when adding the code.

share|improve this answer
    
It worked a few hours later, there was a mistake on the ID in the analytics code for some reason and it was fixed. Thank you all for your answers :) –  user3127632 Aug 8 at 9:53

It might take a while for it to update your status. Have you tried going to your Real-Time Tab - Overview (it right above Audience Tab) and see if you are capturing hits? If you see hits then you are good to go. In some cases tracking code status doesn't update ever but data gets sent to your property.

Note: if you have a filter set to exclude your own IP then your visits won't show up.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.