Search code examples
google-analyticstagsgoogle-tag-managergoogle-analytics-4pageviews

How to stop one page from firing a page view?


How can i stop just one of the pages on my website from firing a page-view event when it's loaded?

I still want the other events to fire from that page.

I am using Google Tag Manager and Google Analytics 4


Solution

  • Just modify your trigger by adding an exception to it like so:

    enter image description here

    If it's an SPA pageview, then it's harder with how GA4 PV tag just offers an option to fire on history changes rather than adding a history change trigger.

    For this case, you would need to prevent it from firing pageviews on history changes and reimplement it via normal triggers, where you would add an exception.