It generally takes 24 hours for data to appear inÂ your Google Analytics account after youâ€™ve installed theÂ tracking code. Hereâ€™s how to confirm that youâ€™ve entered theÂ tracking code correctly in the meantime:
- See the â€œCheck Statusâ€ icon at the top of the Profile Settings page
Google Analytics itself checks to see that theÂ tracking code has been installed correctly onyour site. Once youâ€™ve created a new profile, the â€œCheck Statusâ€ icon displays a warning icon, â€œTracking status unknown,â€ until the system detects theÂ code.
- CheckÂ your reports
SelectÂ your website profile, clickÂ View reports and change the date. To do this, click the date widget on the dashboard and change the date to the day you set up theÂ tracking code. If you do this just a few hours after setting up theÂ tracking code, you probably wonâ€™t see much data. However, if you see some site usage statistics, this meansÂ your Analytics profile is receiving data forÂ your website andÂ tracking is working.
- UseÂ your WYSIWYG editor correctly
If you use a WYSIWYG (â€œWhat you see is what you getâ€) editor such as Macromedia Dreamweaver, make sure that youâ€™re not pasting theÂ code using the Design mode of the editor â€” this is likely the case if you can see theÂ tracking code in the browser when viewingÂ yourpages. Make sure to use the â€œcodeâ€ view mode (HTML markup) or the equivalent when youâ€™re pasting theÂ code toÂ your web pages.
- UseÂ your browserâ€™s â€œView Page Sourceâ€ feature
Navigate toÂ your page on the web and selectÂ View Source fromÂ your browserâ€™s menu. Check the sourceÂ code to see if theÂ tracking snippet appears at the top ofÂ your page before the closingÂ
</head>tag. For more details, read how toÂ checkÂ your siteâ€™s sourceÂ code.