Measure pageviews | Google Analytics | Google for Developers To manually control pageviews, you need to disable the default behavior by setting send_page_view to false in the Google tag snippet You can then manually send page_view events using the
Tracking Pageviews on SPAs using Google Tag Manager | Varn Follow the steps below to learn how to set up pageview tracking on a Single Page Application: 1 Set up Google Tag Manager on your site If you haven’t already got Google Tag Manager set up for your site, follow Google’s guide to set up a container and install it on your site
Page Variables and Pageview Triggers in Google Tag Manager But the most basic (yet still very crucial) is when the page loads You can instruct Google Tag Manager to fire a tag only on certain pages That is possible thanks to two components: pageview triggers and page variables
Google Tag Manager - Count amount of pageviews If you want to add the page view count to an event, I do not see any other way than creating both a Custom HTML Tag to set the counter and a Custom JS Variable to return the count