Set up (web)

Check your web tracking code set up

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 set up, or try to set up the web tracking code again.

It can take up to 24 hours for the Google Analytics servers to update after you make a change to your tracking code, so if you’ve recently completed or changed your set up, wait before you check to see if it’s working.

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.

See how to check the Tracking Status for a web property
  1. Sign in to your Analytics account.
  2. Click Admin in the top menu bar.
  3. Select an Account and Property from each column.
  4. Click Tracking Info / Tracking Code. Near the tracking ID (UA-XXXXX-XX), you’ll see one of these three 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.
  • Tracking Installed
    You’ve got the tracking code set up, and it’s 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 set up.
  • Unknown
    There's no data available that Google Analytics can use to tell if your tracking code is working. Check your set up to see if you can find a solution.

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.

See how to get to your Real-Time reports
  1. Sign in to your Analytics account.
  2. Select an Account, Property, and View.
  3. If you’re not in your reports, click Reporting in the top menu bar.
  4. Under Standard Reports, click Real-Time.
  5. Check to see if there’s data coming in to the reports.
    All of the Real-Time reports display data a few seconds after it’s collected, but the Overview might be the best for this.

If you don’t see any data in your reports, check the date range to make sure you’re looking at today’s date. If you don’t see any data in your reports, it’s possible that your tracking code is set up correctly but that you don’t have any traffic at the moment.

Install and use the Google Analytics Debugger extension (only for Chrome)

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 the webpage you’re looking at. 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.

When 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.