Troubleshoot common tracking setup mistakes

If you have installed tracking and don't see data in your reports after 24 hours, you may have one or more of the following issues.

In this article:

Google Tag Manager related issues

  • Incorrect filter settings
    Incorrect filter settings can affect the data you see, and can inadvertently filter all of your data from your reports. In most cases, this occurs when users apply multiple "Include" filters. For details, see the article on Include and exclude filters.
  • Unpublished container
    Check that you published your container after adding the Analytics tag. Changes made to a container do not take effect on a site until you publish the container. So, once you've added or edited tags, you'll need to publish the container in order to make your additions and changes live on the site.
  • Tag not firing
    Read Why is a tag not firing?" in the Google Tag Manager help center.

Analytics tracking code issues

  • Using incorrect snippet and/or viewing the wrong account or view
    If you track multiple websites and/or have access to multiple Analytics accounts, you might be using the snippet from another account and/or view. Make sure you are viewing the correct account and view. See Finding the Tracking Code for additional information.
  • Extra whitespace or characters
    Be sure to copy the snippet and paste it directly onto your website using either a text editor or an editor that preserves code formatting. Don't use a word processor to copy the snippet from your account.  Doing so can add an extra space or change the quotation marks in the tracking snippet, which requires precise formatting in order to work.
  • Customization Errors
    If you are making customizations to the tracking code, make note of the following:
    • function names are case sensitive and should have correct casing
    • boolean values (e.g. true or false) should not be enclosed in quotes
  • Incorrect filter settings
    Incorrect filter settings can affect the data you see, and can inadvertently filter all of your data from your reports. In most cases, this occurs when users apply multiple "Include" filters. For details, see the article on Include and exclude filters.
  • Other scripts on your page
    If you’re running other scripts on your page, make sure you’re not using any variables that Analytics uses. For more information on variables that the Analytics tracking code uses, visit the developer documentation for the Universal Analytics (analytics.js) JavaScript library.
Was this article helpful?
Google Analytics training and support resources

Check out our comprehensive list to learn more about Analytics solutions.