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.

Click Tracking Info > Tracking Code. Click to expand this image and see where these options appear in the interface.

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.

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.