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.
- Sign in to your Analytics account.
- 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.
- Select the Reporting tab.
- 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.
- Sign in to your Analytics account.
- Navigate to the property to which you added the tracking code.
- 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.
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
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.