Skip to content
FunnelGuard

Fix guide by FunnelsGuard

GA4 installed twice: how to find and fix double page_views

TRK-006High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

GA4 can be installed in two ways. You can paste the gtag.js snippet into your site code, or you can add a GA4 tag inside Google Tag Manager. This issue happens when both are live on the same pages with the same measurement ID (the G-XXXXXXXXXX code).

How one page view becomes two
  1. Visitor loads pageOne real page view
  2. gtag.js snippet firesSends page_view #1
  3. GTM GA4 tag firesSends page_view #2
  4. GA4 reportsInflated views, skewed rates

Both installs send the same event to the same GA4 property.

Why it costs you leads or sales

Reported vs real page viewsExample numbers
Reported vs real page views (example)Real visits: 1,000 page views; Reported in GA4: 2,000 page views07671,5331,0002,000Real visitsReported in GA4page views

Example: a site with 1,000 real page views a day reports about 2,000 when GA4 is installed twice.

How to check if your site has it

Check for a double install
  1. View the page source

    Open a page, right-click, choose View page source and search for googletagmanager.com/gtag/js and GTM-. If you find a gtag.js script with your G- ID and also a GTM container, check whether GTM has a GA4 tag too.

  2. Watch the Network tab

    Open browser DevTools, go to Network, filter by collect and reload the page. Two requests to google-analytics.com/g/collect with en=page_view for the same load means duplicates.

  3. Use GTM PreviewGoogle Tag Manager

    In Tag Manager click Preview and open your site. Check which GA4 tags fire on Initialization or Page View, and whether a separate gtag.js hit also appears.

  4. Use GA4 DebugView

    In GA4 go to Admin, then DebugView. With debug mode on, load a page and see if page_view appears twice within the same second.

  5. Check plugins and themesWordPress

    Look for SEO, analytics or theme settings that add GA4 on their own, such as Site Kit, MonsterInsights or a theme's tracking field.

What a hard-coded gtag.js install looks likehtml
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXXXXX');
</script>

How to fix it

Remove the duplicate by platform
  1. List your GA4 tags

    In Tag Manager open Tags and find every Google tag or GA4 Configuration tag using your G- ID. Keep only one.

  2. Remove or pause extras

    Delete duplicate tags, or remove their triggers. If you keep GTM as the method, make sure the one GA4 tag fires once per page.

  3. Publish

    Click Submit and Publish, then test again in Preview.

Before and after the fix

Two installs

  • gtag.js snippet in the page head
  • GA4 tag also in GTM
  • Two page_view hits per load
  • Inflated views and odd bounce rate

One install

  • GA4 sent from a single source
  • One page_view hit per load
  • Counts match real visits
  • Conversions counted once

How to confirm it's fixed

Confirmation checks
  • Page source shows only one GA4 source for your G- ID
  • Network tab shows a single collect request with en=page_view per page load
  • GTM Preview shows one GA4 tag firing, not two
  • DebugView shows one page_view per page
  • Key events such as purchase or generate_lead appear once per action
  • After a few days, daily page views fall to a realistic level

How to prevent it happening again

Prevention habits
  • Decide and document one install method for GA4
  • Check for existing tracking before adding any new plugin, app or snippet
  • Review GTM changes in Preview before publishing
  • Re-test tracking after theme, plugin or builder changes
  • Give one person ownership of analytics changes

How FunnelGuard handles this

How the problem usually unfolds
  1. Day 1

    A developer adds a gtag.js snippet to the site.

  2. Month 2

    A marketer adds a GA4 tag in GTM without knowing.

  3. Month 3

    Page views jump and bounce rate drops. Nobody links it to the change.

  4. Fix day

    One install is removed and counts return to normal.

Questions people ask

Why are my GA4 page views doubled?

The most common cause is GA4 being installed twice, once as a gtag.js snippet and once as a tag in Google Tag Manager. Both send a page_view for each page load. Remove one install to fix it.

How do I check if GA4 is installed twice?

Open DevTools, go to the Network tab, filter by collect and reload the page. If you see two requests with en=page_view for one load, GA4 is firing twice. Also search the page source for both gtag/js and a GTM container.

Should I use gtag.js or Google Tag Manager for GA4?

Use whichever you prefer, but only one. GTM is usually better if you run several tags, since you can change tracking without editing site code. gtag.js is fine for a simple site with no container.

Does a double GA4 install lower my bounce rate?

It can. Two page_view hits in one session can make GA4 treat visits as engaged, so bounce rate often falls and engagement rate rises. These numbers are not real until the duplicate is removed.

Can GA4 remove duplicate page views from past data?

No. GA4 does not let you delete or merge hits already collected. Fix the install, note the date and compare periods with that change in mind.

Will duplicate GA4 tags double my conversions?

They can, if the conversion events such as purchase or generate_lead are also sent by both installs. Check your event counts in DebugView and in Reports. Duplicated conversions can mislead Google Ads bidding if you import them.

Can FunnelGuard detect GA4 being installed twice?

Yes. FunnelGuard runs your funnel journeys on a schedule and its no_duplicate_events check flags the same GA4 event sent more than once per page load. It alerts you with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: no_duplicate_events.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.