{"id":4184,"date":"2020-05-14T09:53:07","date_gmt":"2020-05-14T09:53:07","guid":{"rendered":"https:\/\/trackingchef.com\/?p=4184"},"modified":"2020-12-15T02:43:43","modified_gmt":"2020-12-14T23:43:43","slug":"validating-your-google-analytics-installation","status":"publish","type":"post","link":"https:\/\/trackingchef.com\/google-analytics\/validating-your-google-analytics-installation\/","title":{"rendered":"Validating your Google Analytics installation"},"content":{"rendered":"\n

After you’ve added the Google Analytics (GA) code<\/a> to your site, it’s recommended that you validate that it’s firing correctly.<\/p>\n\n\n\n

To validate the installation, you use several methods:<\/p>\n\n\n\n

Send test traffic<\/h2>\n\n\n\n

On the same page where you got the GA Tracker ID and installation code, there’s also a small button that says “Send test traffic”.<\/p>\n\n\n\n

Next to it, you will see an indication of whether or not the site has received traffic over the past 48 hours.<\/p>\n\n\n\n

Clicking on this button will open a new window with the website address you’ve set when creating the Property, e.g. https:\/\/trackingchef.com\/. The address will also contain two parameters utm_source=analytics_test&utm_medium=referral, so that GA can identify that the traffic received is actually the one it sent. The URL tested will be similar to this https:\/\/trackingchef.com\/?utm_source=analytics_test&utm_medium=referral<\/p>\n\n\n\n

If the test is successful, you will see the count of users change (shown above the button).<\/p>\n\n\n\n

\"\"
Google Analytics test traffic<\/figcaption><\/figure>\n\n\n\n

Realtime reports<\/h2>\n\n\n\n

Another way of testing your Google Analytics installation is by using the Realtime reports in your account.<\/p>\n\n\n\n

\"\"
Google Analytics Realtime reports section<\/figcaption><\/figure><\/div>\n\n\n\n

This is helpful if you want to test pages other that the homepage, which is the one tested by default by the test traffic method.<\/p>\n\n\n\n

To conduct this test, simply navigate to your site and wait in the page is fully loaded. You will see that the load icon on the browser will stop and the site’s favicon will show up.<\/p>\n\n\n\n

Once the page is loaded, go to Google Analytics (in a new tab) and open the Realtime Overview report. If you see that there’s an Active User on the site, your GA code has been installed properly.<\/p>\n\n\n\n

\"\"
Google Analytics Realtime Overview report<\/figcaption><\/figure>\n\n\n\n

Pro tip:<\/strong>
If your website already has traffic and you want to test a specific section of it (e.g. a new landing page), simply navigate to your website with a link tagged with UTMs (as in the test traffic method)<\/p><\/blockquote>\n\n\n\n

Google’s Tag Assistant extension<\/h2>\n\n\n\n

For users checking multiple sites or multiple tags, I recommend using Google’s browser extension Tag Assistant. This helpful extension identifies all the Google tags implemented on a page (Google Analytics, Google Ads, Google Tag Manager etc.) and highlights any issues they have.<\/p>\n\n\n\n

After installing the extension, navigate to the page you want to test. Click on the extension’s icon and then “Enable” and reload the page.<\/p>\n\n\n\n

\"\"
Google’s Tag Assistant extension<\/figcaption><\/figure>\n\n\n\n

The color of the tags indicate their health status:<\/p>\n\n\n\n

  1. Green – All good<\/li>
  2. Blue – Non standard implementation. Data is still flowing correctly. Can happen when the tag is placed in the wrong place (e.g. body instead of head) or when using a plugin to install it.<\/li>
  3. Red – The tag is on the page but isn’t firing at all<\/li><\/ol>\n\n\n\n

    Pro tip:<\/strong>
    If you want to test a user funnel with multiple steps, you can use this extension in Record mode<\/p><\/blockquote>\n\n\n\n

    Troubleshooting your GA installation<\/h2>\n\n\n\n

    If you’ve tried the above methods and don’t see any traffic, there are several ways you can debug your installation.<\/p>\n\n\n\n

    Does you website have cache?<\/h3>\n\n\n\n

    Some websites have a caching mechanism<\/a> in place. This will prevent the GA code from deploying immediately on the site. In this case, I recommend asking your webmaster to flush the website’s cache.<\/p>\n\n\n\n

    It could also be the case that the website is loaded from your browser’s local cache. In this case I recommend a doing hard refresh (CTRL+F5) and trying a new browser.<\/p>\n\n\n\n

    Are you using the right Tracking ID?<\/h3>\n\n\n\n

    Some users are managing multiple GA Properties, so it is not uncommon to see that the test is run on Property A while the site has Property B installed on it. You can check this by using Google’s Tag Assistant to check which Tracker ID is loading on the site.<\/p>\n\n\n\n

    Do you have an exclusion filter set up?<\/h3>\n\n\n\n

    If the Tag Assistant shows the right Tracker ID and it’s status is Green but you still don’t see any indication in the Realtime reports, it might be the case that your traffic being is filtered out of the GA view.<\/p>\n\n\n\n

    This is often the case when checking the GA installation from a work Wifi, while its IP address has been filtered out from GA to prevent internal traffic from altering your data.<\/p>\n\n\n\n

    For these tests (and several other reasons) ,I suggest having an unfilitered View in GA that shows all website visits.<\/p>\n","protected":false},"excerpt":{"rendered":"

    After you’ve added the Google Analytics (GA) code to your site, it’s recommended that you validate that it’s firing correctly. To validate the installation, you use several methods: Send test traffic On the same page where you got the GA Tracker ID and installation code, there’s also a small button that says “Send test traffic”. […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts\/4184"}],"collection":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/comments?post=4184"}],"version-history":[{"count":3,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts\/4184\/revisions"}],"predecessor-version":[{"id":4831,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts\/4184\/revisions\/4831"}],"wp:attachment":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/media?parent=4184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/categories?post=4184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/tags?post=4184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}