On this page
What this issue is
A GA4 measurement ID looks like G-ABC123XYZ9. It identifies a web data stream inside a GA4 property. A page should normally send hits to one ID. This issue happens when the page loads two IDs, for example from a theme setting plus a plugin, or from a hard-coded snippet plus a Google Tag Manager (GTM) tag.
There are two versions of the problem. In one, both IDs point to data streams in the same property, so page_view, purchase and lead events arrive twice. In the other, the IDs belong to different properties, so each report shows only part of the traffic. Either way, you cannot trust the numbers.
Why it costs you leads or sales
Bad data leads to bad decisions. Doubled conversions make ads look twice as efficient as they are, so you may raise budgets on campaigns that do not earn it. Split data does the opposite: a property that only sees half the traffic makes good channels look weak.
If you import GA4 conversions into Google Ads, duplicates can also feed inflated numbers into bidding. Smart bidding then learns from wrong signals. Engagement and bounce-style metrics get distorted too, which makes page tests harder to read.
Example: a site that really gets 50 leads a month. With two IDs in the same property, GA4 reports 100. With two IDs in different properties, each one reports about half.
- Visitor landsPage loads two gtag configs
- Two G- IDs fireSame event sent to both IDs
- Lead form submittedgenerate_lead sent twice or split
- Reports and Ads importsInflated or partial numbers
The visitor journey is fine. The break is in how the page reports it.
How to check if your site has it
Search the page source
Open the page, right-click, choose View page source, then search for
G-. Note every different ID you find, including inside inline scripts.Check the Network tab
Open browser developer tools, go to Network, filter by
collect, and reload. Each request togoogle-analytics.com/g/collecthas atid=value. Two differenttidvalues means two IDs are sending.Look inside GTMGoogle Tag Manager
In Google Tag Manager, open Preview mode on your site. In the tag list, look for more than one Google tag or GA4 configuration tag with different measurement IDs.
Check which property each ID belongs to
In GA4 go to Admin, then Data streams, and open each stream. Compare the measurement ID and the property name. If both IDs show up under one property, events are doubled. If they sit in different properties, data is split.
Test in DebugView
Open Admin, then DebugView in each property while using Tag Assistant or debug mode. See whether one action shows up in both.
// Run in the browser console on the page you are checking
const ids = Object.keys(window.google_tag_data?.tidr?.destination || {});
console.log('Destinations:', ids);
console.log('dataLayer config calls:',
(window.dataLayer || []).filter(e => e[0] === 'config').map(e => e[1]));How to fix it
First decide which ID is the right one. It is usually the stream in your main, live property. Then remove the other from wherever it is installed. The usual sources are a theme setting, an analytics plugin, a hard-coded snippet, a GTM tag or a landing page builder.
List active analytics plugins
Check Plugins for any analytics or tag plugin (for example a Google tag plugin, an SEO plugin with tracking, or a theme option). Each may hold its own G- ID.
Keep one source
Pick one plugin or setting to carry the ID. Clear the measurement ID field in the others or deactivate them.
Check theme and header code
Look in Appearance, Theme options, and any header and footer scripts area for a pasted gtag snippet.
Check the Google channel
In Settings, Apps and sales channels, review the Google and YouTube app and its connected GA4 property.
Check Customer events
In Settings, Customer events, look for custom pixels that load another gtag config.
Check theme code
In Online Store, Themes, Edit code, search theme.liquid for
G-and remove any extra snippet.
Find all Google tags
In the container, search tags for Google tag or GA4 configuration types and list their IDs.
Pause or delete the extra tag
Remove the one with the wrong ID. Also check that no event tag has a hard-coded ID that differs from your main one.
Preview, then publish
Run Preview, confirm only one ID fires, then submit and publish a new version.
Check project settings
Open Project settings, Integrations, and look at the Google Analytics field. Then check Custom code, Head code.
Check page-level code
Open the settings of each important page and look at its custom code area for a second snippet.
Check funnel and site settings
In each funnel or website, open Settings and look at the tracking code section for header code.
Check page-level code
Open the page's settings and check its own tracking code box for a second G- ID.
Check Marketing integrations
In Settings, Marketing integrations, check the Google Analytics connection.
Check custom code
In Settings, Custom code, look for a pasted gtag snippet that uses another ID.
Check the built-in field
In Settings, Developer tools or Advanced, open External API keys and check the Google Analytics field.
Check code injection
Open Code injection, Header, and remove any extra snippet with a different G- ID.
Search the codebase
Search templates and includes for
G-andgtag('config'. Remove the config for the ID you do not want.Check for templates that include more than one layout
Make sure layout files or partials are not each adding their own snippet.
If you need to send data to two properties on purpose (for example an agency roll-up property), that is allowed. Do it with one Google tag that has both destinations, and keep the setup written down. Do not let two separate tags do it.
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MAINID123"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MAINID123');
</script>Two IDs installed
- Network tab shows two different tid values per event
- Leads counted twice or split across properties
- Ads imports look inflated
One ID installed
- One tid value per event
- One lead action creates one generate_lead event
- Reports and Ads imports match your CRM
How to confirm it's fixed
- View source shows only the G- ID you intended
- Network tab shows one
tidvalue oncollectrequests - GTM Preview shows a single Google tag firing per page
- DebugView in the right property shows each event once
- DebugView or Realtime in the old property shows no new hits from your site
- A test form submission creates one lead event
- After a few days, event counts in GA4 are close to your CRM lead count
How to prevent it happening again
- Keep a written record of which property and measurement ID each site should use
- Pick one place to own the GA4 install (GTM, a plugin or theme code, never several)
- Before adding a new plugin, app or page builder integration, check whether it adds its own Google tag
- Review GTM changes in Preview before publishing
- Re-check the Network tab after theme changes, migrations and agency handovers
- Run a scheduled check on your key pages so a new duplicate is caught soon
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It runs your real customer journey on a schedule and watches the tracking hits sent to GA4. It does catch duplicate events, so if one action sends the same GA4 event twice, you get a re-checked alert with a screenshot and a likely cause.
What it does not know is the property mapping. FunnelGuard cannot tell from the hits alone whether two measurement IDs belong to the same GA4 property or to different ones, and it cannot judge which property you meant to use.
Write down the intended ID
Record the property name and measurement ID each site should send to.
Check Data streams
In GA4 Admin, open Data streams in each property and match the IDs you saw in the alert or the Network tab.
Review after changes
Repeat the Network tab check whenever a theme, plugin or GTM change goes live.
The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial. A free read-only website audit is also available.
Frequently asked questions
Questions people ask
Why is GA4 counting my conversions twice?
A common cause is two measurement IDs (G- codes) installed on the same page, both belonging to the same property. Each event is then sent twice. Check the page source and the Network tab for more than one tid value, then remove the extra install.
Can I have two GA4 measurement IDs on one website?
Yes, but only on purpose. The safe way is one Google tag with two destinations. Two separate tags or plugins each sending to GA4 often cause double counting or split data.
How do I find which GA4 IDs are on my page?
View the page source and search for G-, or open developer tools, go to Network, filter by collect and read the tid value on each request. In GTM Preview you can also see each Google tag and its ID.
How do I know if two GA4 IDs are in the same property?
In GA4, go to Admin, then Data streams, and open each stream. Each stream shows its measurement ID and the property it belongs to. If both IDs sit under one property, events are doubled. If not, your data is split.
Will removing the extra GA4 ID fix my old data?
No. GA4 keeps what it already collected, so past duplicates stay in the reports. The fix applies to new traffic only. Add an annotation with the fix date so you can explain the change.
Does a duplicate GA4 ID affect Google Ads conversions?
It can. If you import GA4 conversions into Google Ads, duplicated events may inflate the counts that bidding uses. Fix the duplicate and check the imported conversions after a few days.
Can FunnelGuard tell me which GA4 property an ID belongs to?
No. FunnelGuard catches duplicate GA4 events during its checks, but it does not know the property mapping. You confirm that by hand in GA4 Admin under Data streams.
Related issues
- TRK-006GA4 installed twice (gtag.js and GTM) causing double page_viewsFix guide
- TRK-003Wrong GA4 measurement ID (staging or another client's property)Fix guide
- TRK-001GA4 tag missing from a funnel pageFix guide
- TRK-014GA4 data stream web URL pointing to an old domainFix guide
- TRK-022Test traffic not marked internal (pollutes reports)Fix guide
- TRK-002GA4 tag missing site-wide after a theme or builder changeFix guide