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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. <script>
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-XXXXX-X']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

Post By Gishore J Kallarackal (2,121 Posts)

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.

Website: → Techgurulive