Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 4 min read

GA4 counts two page views per visit? Causes in 792 sites

Short answer: GA4 records two page_view events for one visit when two things send one for one measurement ID, usually a tool integration (HubSpot, WordPress Site Kit) plus GTM. On 5 Nov 2026, 123 of 792 sites that load G

Short answer: GA4 records two page_view events for one visit when two things send one for one measurement ID, usually a tool integration (HubSpot, WordPress Site Kit) plus GTM. On 5 Nov 2026, 123 of 792 sites that load GA4 (15.5%) had such a setup, and 7 of 15 we loaded live sent the page view twice. Check in DevTools: filter on collect? and count the en=page_view hits for one load.

How many sites send page_view twice?

On 5 Nov 2026 we refetched the 981 GA4 sites in our 1,727-site study (robots.txt checked, 971 answered) and read their GTM containers. 792 showed a GA4 ID on the homepage. For each ID we counted the places that send a page_view.

Setup that can send page_view twice for one ID Sites (of 792)
Same ID in page code and a GTM Google tag 59 (7.4%)
Same ID in two GTM Google tags (55 in one container) 58 (7.3%)
A GA4 event tag named page_view on top of a Google tag 12 (1.5%)
Any of the three 123 (15.5%, 95% CI 13.2 to 18.2)

By segment: 15.9% of 618 B2B SaaS sites, 14.4% of 132 agencies, 14.3% of 42 ecommerce sites. Not counted (they depend on settings we can't see): two triggers on one Google tag (53 sites, 6.7%) and a History Change trigger (38 sites, 4.8%). Two different IDs (138 sites, 17.4%) is another case. 100 of the 123 doubles load only one ID.

Live check, same day, 25 flagged homepages in headless Chromium, no banner click: 10 sent no GA4 hit. Of the other 15, 7 sent page_view two or three times per load and 8 once (control: 4 of 5 unflagged sites sent one, 1 none). So 15.5% means "has two sources"; about half double-count.

Why does GA4 record two page_view events?

The Google tag "sends a pageview by default" (Google). Each cause below adds a second sender.

  • A tool adds GA4, and GTM adds it again. Of the 59 sites with the ID in both places (58 answered a re-read), the page copy came from HubSpot on 13, a WordPress plugin on 9 (Site Kit on 7), a CDN tag on 9, and a gtag snippet or unknown on 27.

  • A second sender in the same container: two Google tags with one ID (often an old "GA4 Configuration" tag and its migrated copy), a GA4 event tag named page_view, or one Google tag on two triggers set to "Once per event".

  • Single page apps. Enhanced Measurement sends a page_view on history changes, "even if you set" send_page_view: false (Google). A History Change trigger on top counts each route twice.

How do I check for duplicate page views in 2 minutes?

  • Private window, DevTools, Network tab, Preserve log on, filter collect?. Accept the banner, reload.

  • Count requests to google-analytics.com/g/collect (or your first-party collector) with en=page_view (batched: see Payload). Two with the same tid= for one load is a double.

  • Find the second source: search the page source for gtag('config' and gtag/js?id=G-. In GTM, filter Tags on "Google tag" and "GA4 Event". DebugView and Tag Assistant show the same.

What does a double page_view break?

  • Views double; sessions and users don't. "Viewed 3 pages" audiences fire early.

  • Key events built on page_view (a thank-you page rule) and Google Ads conversions imported from them: counted twice, so Smart Bidding sees more than happened (duplicates in GTM). Primary or secondary can't be seen from outside: check Goals in Google Ads.

How do I stop GA4 sending page_view twice?

  • Pick one install. Keep GA4 in GTM; turn off HubSpot's integration, Site Kit, the CDN tag and hand-written gtag. One Google tag per ID: pause the extra, test, delete. Two triggers on it: firing option "Once per page".

  • Own page_view? Set send_page_view to false. If your tag handles route changes, turn off "Page changes based on browser history events". Then recount with the DevTools check.

What can't we see from outside?

Enhanced Measurement settings live in the property, so history changes are a risk, not a count. A banner hides a double from a no-click load (10 of our 25). We read the homepage only.

Updated 7 Nov 2026: shorter, same data. First version 5 Nov 2026. Data: a static read of 971 homepages and their GTM containers plus a no-click headless Chromium load of 25 flagged and 5 unflagged homepages, all 5 Nov 2026, from our 1,727-site study (leans toward well-known companies). Method.

FAQ

Why does GA4 show two page_view events when I load a page once?

Two things send one for the same measurement ID, usually a tool integration (HubSpot, WordPress Site Kit) plus a Google tag in GTM. On 5 Nov 2026, 15.5% of 792 sites with GA4 had such a setup; 7 of 15 we loaded live sent it twice.

Can duplicate GA4 page views inflate Google Ads conversions?

Yes, when a GA4 key event built on a page view (a thank-you page, for example) is imported into Google Ads. Each double counts as two conversions. Whether that conversion is primary can't be seen from outside.

Originally published on fireshift.ai. We built Fireshift, a free scan that reads what a site sends to Google Ads and GA4 from the outside.

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.