On this page
What this issue is
Every GA4 property has a Measurement ID that starts with G-. Your site sends events to the property whose ID is in the tag. In a multi-property setup, this can go wrong. Examples: a staging property and a live property, one property per country, one per brand, or a main property plus an agency roll-up property.
Why it costs you leads or sales
GA4 is where you judge which channels bring leads and sales. If the lead and purchase events land in the wrong property, the property you report from shows too few conversions. Campaigns look weaker than they are, and you may cut budget from ads that work.
- Visitor submits formLead is real
- GA4 tag firesUses the wrong Measurement ID
- Wrong propertyReceives the generate_lead event
- Your reportRight property shows no lead
The visitor does everything right, but the data is counted in the wrong place.
Example: 100 real leads in a week. When events go to the wrong property, the reporting property only sees the share still sent to it.
How to check if your site has it
Open your browser's network tab
In Chrome, press F12, open the Network tab and type
collectin the filter box. Keep Preserve log on.Run the journey
Load the page, then submit the form or do the action you track. Requests to
google-analytics.com/g/collectappear.Read the tid value
Click a request and look at the query string. The
tidparameter is the Measurement ID that received the hit, for exampletid=G-AAAA111111.Compare with the expected ID
In GA4, go to Admin > Data streams, open your stream and copy the Measurement ID. It must match
tidon every hit.Check for more than one ID
If you see two different
tidvalues, two tags are firing. One may be correct and one wrong, or both may be wrong.Use GTM PreviewGoogle Tag Manager
In Google Tag Manager, click Preview, load your site and open each GA4 tag that fired. Check its Measurement ID or the configuration it uses.
performance.getEntriesByType('resource')
.map(r => r.name)
.filter(n => n.includes('googletagmanager.com/gtag/js') || n.includes('google-analytics.com/g/collect'))
.forEach(n => console.log(n));How to fix it
Open the GA4 tags
In Tags, open every Google tag and GA4 event tag. Check the Tag ID or Measurement ID field.
Use one variable for the ID
Create a Constant variable (for example 'GA4 Measurement ID') holding the correct G- ID and select it in each tag. This stops copy errors.
Fix copied containers
If you duplicated a container for another site, replace the old ID before publishing.
Publish
Submit and publish the container, then re-test in Preview mode.
List every place an ID can be set
Check your SEO or analytics plugin (such as Site Kit), your theme settings and any header/footer script plugin. Each may add its own GA4 tag.
Keep one source
Leave the ID in one place and remove the others.
Clear caches
Purge page and CDN caches so the old ID stops being served.
Check the Google channel
In Settings > Apps and sales channels, open Google & YouTube and check which GA4 property is connected.
Check customer events and theme code
Under Settings > Customer events, look for custom pixels with a GA4 ID. Also search theme.liquid for
gtag(orG-.Remove the wrong one
Disconnect or edit the pixel or snippet holding the wrong ID.
Open project settings
Go to Site settings > Integrations and check the Google Analytics ID if one is set.
Check custom code
Under Custom code, look in Head code and Footer code, and in page-level custom code, for
G-IDs.Publish
Fix the ID and publish the site.
Check funnel and website settings
Open each funnel or website, go to Settings > Tracking Code and look for a GA4 ID in the head and body code.
Check for pasted snippets
Cloned funnels often carry the old client's ID. Replace it with the right one.
Save and publish
Save each funnel step or site and republish.
Check Marketing integrations
Go to Marketing & SEO > Marketing Integrations and open Google Analytics. Check the connected ID.
Check custom code
In Settings > Custom code, look for extra GA4 snippets.
Check the external API keys
Go to Settings > Developer tools > External API keys (or Marketing > Integrations, depending on your version) and check the Google Analytics ID.
Check code injection
In Settings > Advanced > Code injection, look for
G-IDs in the header and footer.
Search the codebase
Search for
G-andgtag(across templates, includes and environment config.Drive the ID from config
Read the ID from an environment variable per site or environment so staging and production cannot share one by mistake.
Remove duplicate snippets
Keep one loader per page.
<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>Before
- Tag holds an old or test Measurement ID
- Two GA4 snippets fire on the same page
- Right property shows no lead events
After
- Every tag uses the correct G- ID
- One loader per page, or a documented second ID
- Events appear in the right property's Realtime report
How to confirm it's fixed
- Network tab: every
collectrequest showstidequal to the expected Measurement ID - No unexpected second
tidon the same page - Realtime report of the right property shows your test visit and the key event
- The wrong property no longer receives new events from this site
- Google Ads imports and GA4 conversions in the right property start to count again
How to prevent it happening again
- Keep a simple sheet listing each site, its GA4 property and its Measurement ID
- Use a single GTM constant variable for the ID instead of typing it into each tag
- Change the ID first when you clone a container, funnel or site
- Use separate IDs for staging and live, and never publish staging IDs to live
- Re-test the Measurement ID after theme, plugin and container changes
- Run scheduled checks of the real journey so a swapped ID is caught fast
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor runs your real journey on a schedule, and it records the tracking hits sent to GA4. You set which Measurement IDs a journey should send to (the check uses tag ids and ids rules). If a hit goes to an ID that is not on your list, or the expected ID never receives it, the check fails.
Questions people ask
Why is my GA4 data going to the wrong property?
The tag on your site holds a different Measurement ID than the property you report from. Common causes are a copied GTM container, a test ID left in after launch, or a theme or plugin adding its own GA4 snippet. Check the tid value on your collect requests to see where hits go.
How do I check which GA4 property my events are sent to?
Open your browser's developer tools, go to the Network tab, filter for collect, and trigger the event. Click the request and read the tid parameter. That is the Measurement ID that received the hit, and you can match it against Admin > Data streams in GA4.
Can I move GA4 events from one property to another?
No. GA4 has no tool to move past events between properties. You can fix the tag so new events go to the right place, and keep a note of the change date so reports are read correctly.
Why are my GA4 conversions missing but the site works fine?
The page can work perfectly while the GA4 tag sends events to another property. Your reporting property then shows no conversions. Compare the Measurement ID in the network requests with the one in your data stream.
Is it OK to send GA4 events to two properties?
Yes, if you do it on purpose, for example for an agency roll-up property. Add each ID deliberately and document it. Problems start when a second ID appears by accident, for example from a plugin or a cloned container.
Why do I see two different tid values on one page?
Two GA4 tags are firing, for example one in GTM and one hardcoded in the theme, each with a different ID. Find both sources, keep the correct one and remove the other unless you want both properties.
How can I stop staging data from reaching my live GA4 property?
Use a separate GA4 property and Measurement ID for staging, and read the ID from a per-environment setting or a GTM environment. Never publish the live ID in a staging build. Check the tid value after each release.
Can FunnelGuard tell me if events go to the wrong GA4 property?
Yes. FunnelGuard runs your journey with a robot visitor, records the GA4 hits and compares them with the Measurement IDs you set for that journey. If a hit goes to an unexpected ID, or the expected ID gets nothing, it alerts you with a screenshot and a likely cause.
Related issues
- TRK-043generate_lead not sent on form submitFix guide
- TRK-047Event name typo (Generate_Lead vs generate_lead)Fix guide
- TRK-053Custom dimensions sent but not registered in GA4Fix guide
- TRK-049Required event parameter missing (form_id, method)Fix guide
- TRK-050Parameter value is undefined, null or '(not set)'Fix guide
- TRK-044generate_lead fires on page load instead of submitFix guide