How to disable pageviews in Google Tag Manager?

Updated on 2022-05-18

If you are using Littledata to send pageviews to Google Analytics (GA) you will need to disable the ones coming from other sources (e.g. sent via GTM). Having duplicated pageviews lowers your bounce rate and average time on site or average time on page reports will be skewed. If your bounce rate drops into the single digits there is a real chance that you have duplicated pageviews.


A lot of Google Tag Manager (GTM) tracking setups include a GA pageview tag that fires on a trigger of “All pages”:

GA Pageview All Pages

note:

GTM setups with multiple tags for different types of pageviews sent to GA will all need to be disabled

Simple steps for disabling GTM pageviews

  1. You will need to access GTM with an account that has “edit” permissions

  2. Go to tags

    GTM Tags

  3. Look for Google Analytics, GA Pageview, or something similar (the name is set by the person who created the tag, so it can have ANY name).

  4. Click on the tag. Notice that Track Type is Pageview. It should look similar to this:

    GTM Pageview

  5. Click on the 3 dots on the upper right and then click on "pause"

    Tags Paused

  6. Publish the container

Now the Google Analytics pageviews sent via GTM will be disabled. They can easily be restored if needed at a later time by following these steps and clicking on “unpause” instead.

This will not affect any custom events triggered from GTM, which can work alongside Littledata's tracking.

Further reading: