How-to · Updated November 25, 2026
Track page changes on a site that doesn't reload pages
Updated November 25, 2026
40 minutes
If GA4 shows one page view per visit, the site probably swaps pages without reloading. Pick one sender for those page changes: GA4's browser history setting, or a History Change trigger in Tag Manager, never both. Then add a History Change trigger to every other tag that must run on each page, such as call tracking.
Before you start
- Editor access to GA4 and Edit access or higher in Tag Manager. Google's guide for this setup assumes edit rights in both products.
- Publish permission on the container, to put the triggers live.
- A list of the container's tags set to fire on page load, from the Tags screen, so none is missed in the last part.
Confirm the site changes pages without reloading
On these sites the first page loads once and every later page is drawn by script, so anything set to run on page load runs only when the site first loads, usually once per visit.
- Go to tagassistant.google.com, click Add domain, enter your website address and click Connect. This turns on debug mode for your browser.
- In GA4, click Admin and, under Data display, click DebugView.
- Load the home page, then click through to two other pages. Watch the address bar and the Seconds stream. If the address changes but no new page_view arrives, the site most likely changes pages without reloading, and nothing counts the change.
- Click at least three different kinds of link, such as the menu, a button in the page and a link in the footer. One site can do both: on two of the five sites tested below, some links swapped the page and others loaded a new one.
- Scroll once on each page before you judge. Some sites hold a tag back until the first scroll, so a page_view that seems missing may only be waiting.
Count each page change once
Use one of two senders, because Google warns that turning on both the GA4 setting and Tag Manager history tags can count page views twice.
- If GA4 is installed without Tag Manager: in GA4, open Admin, then Data streams, click your web stream and turn Enhanced measurement on. Click the settings icon, and under Page views, click Show advanced settings and enable both Page loads and Page changes based on browser history events. Click Save.
- Then, on the same stream, under Google tag, click Configure tag settings, click Show all, open Manage automatic event detection, and make sure Page views on browser history change is on. Google says each event type must be on in the Google tag's settings too.
- If GA4 is set up in Tag Manager, Google's developer guide says to use Tag Manager for this instead. In the GA4 stream's Page views advanced settings, clear Page changes based on browser history events and save.
- In Tag Manager, click Triggers, then New, choose History Change, name it, and save.
- Click Tags, then New, choose Google tag, and enter the same tag ID as your existing Google tag. Under Configuration settings, add page_location set to the built-in Page URL variable, page_title set to the built-in Page Title variable, and update set to true. Pick each variable from the brick icon beside the value box. Leave Triggering empty and save. If Tag Manager asks you to add a trigger, save without one, because the next tag fires this one.
- Click Tags, then New, choose Google Analytics: GA4 Event, enter your Measurement ID and set the Event Name to page_view. Under Advanced Settings, Tag Sequencing, tick the box that reads Fire a tag before, followed by this tag's name, and choose the Google tag from the last step. Under Triggering, choose the History Change trigger and save.
Google notes that the update setting suppresses an immediate duplicate page_view when the Google tag runs again.
Run your other tags on every page change
On these sites a tag that fires only on page load runs when the site first loads, so it misses the pages reached after that.
- Go through your list of tags on page load triggers and pick the ones that must run after a page change, such as a call tracking script that swaps phone numbers, or a conversion tag tied to a thank-you page address.
- For a tag that should fire only on one page, such as the thank-you page conversion, make a second History Change trigger set to Some History Changes with Page URL containing that page's path, and add only that trigger. Do not add the plain History Change trigger to this tag: a tag fires when any one of its triggers is met, so the plain one would record a conversion on every page change.
- For a tag that should run on every page, such as a call tracking script, open it, click Triggering, and add the plain History Change trigger next to its page load trigger. A tag can have more than one firing trigger.
- Click Preview, click through the site, and confirm each tag fires on the page changes. Then click Submit, choose Publish and Create Version, and click Publish.
For a call tracking script, adding the History Change trigger is one way to keep numbers swapped on later pages, but it is not from Google, and some providers document their own method for sites like this. Check with your call tracking provider before relying on it, and confirm the script tolerates running again.
Check it worked
With Tag Assistant connected, watch DebugView as you click through the site. Each page change should add exactly one page_view, and its page_location should match the new address. Two page_view events per change usually means both senders are on, or the Google tag from the second part is missing update set to true.
Over the next days, GA4's page reports should list the pages people move to, not only the page they entered on.
What five live sites sent on each page change, tested 2026-11-25
On 2026-11-25 Adrythm loaded five live business sites it runs in a fresh Pixel 7 Chrome, scrolled once, then clicked three links inside each site, waiting about ten seconds and scrolling once after each click. It recorded whether the page reloaded, which GA4 page_view requests left the browser, with their page address and title, and whether Tag Manager logged a history change. No business is named, and no visitor data was read.
Four of five swap pages without reloading. Three never reloaded on any of the three clicks. Two mixed: one swapped on the first click and loaded a new page on the next two, the other loaded one of three fresh.
On four sites every change was counted once. Each change sent one page_view per GA4 property, carrying the new address and the new page's title, never the old one.
One site counted none of its changes. It swapped pages on all three clicks and Tag Manager logged two history changes for each, but GA4 received no page_view after the first page. Its reports would credit every visit's time to the landing page. The same site sent an event named gtm.dom to GA4 on load, which is Tag Manager's own page ready signal, not a visitor action.
One site with two GA4 properties held the second back until a scroll. On the first pass, with no scroll after each click, only one property received the page changes. With one scroll after each click, both did. A visitor who never scrolls is counted in one property and not the other.
What your test result means
If the address changes, the page does not reload and no page_view follows, nothing is counting page changes. Turn on one sender as above.
If Tag Assistant shows a history change event but GA4 receives nothing, Tag Manager sees the change and no GA4 tag fires on it. Add the History Change trigger to the GA4 page_view tag, or turn on the GA4 history setting, not both.
If one page_view arrives per change, check its page title matches the new page. If it does, stop: the site is counted right.
If some links reload and others do not, test both kinds. A setup that works for one can double count or miss the other.
How to connect GA4 to Tag Manager, track link clicks, and apps
To connect GA4 to GTM, add a Google tag in Tag Manager with your GA4 Measurement ID, which starts with G-, and fire it on Initialization - All Pages. That tag is the one the second part above reuses with update set to true.
To track link clicks on a site like this, use a Just Links click trigger, not a page view trigger, because a link that swaps the page never loads a new one. A click trigger fires either way.
Can Google Analytics track mobile apps? Yes, but not through a website's Tag Manager container. A phone app sends GA4 its screens through Google's app SDK, and this page is only about websites.
When the address does not change at all
Some sites swap screens without changing the address. A History Change trigger and GA4's history setting both rely on the browser history changing, so neither sees those screens. Google's guide for that case is a custom event the site pushes for each screen, which a developer adds.
Why engagement time looks wrong before the fix
Google says that without a page view for each screen change, Analytics treats the whole site as a single page, so all engagement time is credited to the first page of the visit.