Check your web tracking code setup

Make sure you're collecting data, and seeing it in your reports.

There are a few ways you can check to see if the Google Analytics tracking code on your website is working. If you don’t think it's working correctly, review your setup, or try to set up the web tracking code again.

In this article:

Check your Real-Time reports

With the Real-Time reports, you can monitor user activity as it happens. If you see data in these reports, it means that your tracking code is currently collecting data.

  1. Sign in to your Analytics account.
  2. Navigate to a view in the property to which you added the tracking code. If you only recently added the tracking code to this property (website), it is likely that there will only be one view.
  3. Select the Reporting tab.
  4. Select Real-Time > Overview.

Check the Tracking Status in your property

In every web property in your Google Analytics account, you can see the Tracking Status, which tells you if your tracking code is working or not.

  1. Sign in to your Analytics account.
  2. Navigate to the property to which you added the tracking code.
  3. Click Tracking Info > Tracking Code. Image of where you find your tracking code in your Analytics account. Click to expand this image and see where these options appear in the interface.

  4. Review the tracking code status message. Near the tracking ID (UA-XXXXX-XX), you’ll see one of the following status messages:
  • Waiting for Data
    The tracking code has been detected on the homepage of your website, and the Google Analytics servers are updating your configuration before your data can be processed and appear in your reports.
  • Tracking Not Installed or Not Verified
    The tracking code isn’t set up correctly on your webpages.
  • Receiving Data
    The tracking code is collecting and sending data to your property. You can still use the other tools, like the Google Analytics Debugger, to do a more in-depth analysis or to troubleshoot your setup.
  • Unknown
    There's no data available that Google Analytics can use to tell if your tracking code is working. Check your setup to see if you can find a solution.

Install and use the Google Analytics Debugger extension (Chrome browser extension)

The Google Analytics Debugger is a Chrome browser extension you can use to help you troubleshoot your Google Analytics implementation. You can use it to see if your tracking code is set up correctly, but you can also use it for more extensive troubleshooting as you customize your tracking code for more sophisticated collection and analysis. Follow the instructions on the install page to set up and use the debugger.

Although this is the most extensive Google Analytics debugging extension, there are other third-party tools and browser extensions you can use to help you troubleshoot. Try different solutions to see what works for you.

Use your browser's View Page Source feature to find the tracking code

If you use Google Tag Manager to manage Google Analytics tracking, you won't be able to verify that tracking has been installed by viewing the page source. This is because you'll only see a container snippet, not the tracking code itself.

Most browsers let you see the source code for a webpage. Although it’ll be slightly different with every browser, you’ll probably find option called View Page Source or View Source in your browser menu. For details on how to check your own source code with the Chrome browser, follow the instructions to check if a webpage uses Google Analytics.

Once you’re looking at the source code, search for your tracking code snippet. If you haven’t added any feature customizations, the snippet you see in your source code should match the one you see in your account. See how you can find your tracking code in your account.

If you have customized your tracking code, the snippet in your source code won’t be identical to what you see in your Google Analytics Account, but the property number should still be the same both places.

Was this article helpful?