On this page
What this issue is
When you create a GA4 web data stream, you enter a website URL and a stream name. After a rebrand, domain change or migration, that URL can stay on the old domain while the site runs on a new one.
The stream URL does not decide where data is collected. Data comes in from any page that runs your measurement ID (the G-XXXXXXXXXX code). So a stale URL does not stop tracking by itself. It is a setup hygiene problem, and a sign that other things may have been missed in the move.
Why it costs you leads or sales
The stale URL rarely loses data directly. The cost comes from what it hides or causes around it:
- Team members or agencies pick the wrong stream or property because the label looks like a dead site.
- Enhanced measurement and tag settings get reviewed against the wrong site.
- Linked tools such as Google Ads or Search Console are connected to the wrong stream by mistake.
- The migration itself may have left the tag off the new domain, and nobody notices because the property looks 'set up'.
- Cross-domain settings still list the old domain and miss the new one, which splits sessions and breaks attribution.
Example: illustrative scores only, not measured data. The stale URL label is low risk; a missing tag or cross-domain gap on the new domain is higher.
How to check if your site has it
Open the stream
In GA4 go to Admin > Data collection and modification > Data streams (or Admin > Data streams), then click your web stream. The stream details show the stream URL, name and measurement ID.
Compare to your live domain
If the URL shows the old domain, you have this issue.
Confirm data comes from the new domain
Open Reports > Realtime, then browse your new site in another tab. Your visit should appear. You can also add Hostname as a dimension in an Explore report (or check Reports > Tech) to see which domains send hits.
Check the measurement ID on the site
View the page source or use your tag manager preview and confirm the same G- ID as in the stream.
Review cross-domain settings
In the stream, open Configure tag settings > Configure your domains and check the list includes every domain in your funnel.
How to fix it
- Domain movesSite goes live on the new domain
- Stream URL not updatedStill shows old domain
- Tag or cross-domain not recheckedNobody reviews the setup
- Reports look wrongSplit sessions or missing hits
The label is harmless, but the migration step that follows it is where data gets lost.
Open the stream settings
Admin > Data streams > click the web stream. You need the Editor role or higher on the property.
Edit the details
Depending on the interface, use the pencil icon or the stream name area to change the stream name and, where the field is editable, the website URL. Use your current domain, for example https://www.example.com.
If the URL field is locked
Rename the stream so it clearly names the current site. If you need the URL itself to change and cannot edit it, create a new web stream for the new domain, install its new measurement ID and keep the old stream for history. Do not run both IDs on the same pages unless you intend to.
Save and recheck
Save, then confirm the measurement ID is unchanged and Realtime still shows your visit.
Check your GA4 plugin or theme setting
In your analytics plugin (for example Site Kit or a header-scripts plugin), confirm the measurement ID matches the stream.
Check the site URL
Under Settings > General, confirm WordPress Address and Site Address use the new domain so the plugin loads on it.
Check the Google channel or custom pixel
Under Settings > Customer events, confirm the GA4 pixel uses the right G- ID.
Check checkout domain
Under Settings > Domains, confirm the new domain is primary so pixels run on it.
Open the Google tag
Confirm the Tag ID is the stream's G- ID and the trigger is All Pages.
Check domain-based conditions
Look for triggers or variables that match the old hostname (Page Hostname equals) and update them.
Preview and publish
Use Preview on the new domain, then Submit.
Check the custom domain and ID
Under Site settings > Integrations, confirm the Google Analytics ID is the right G- ID and publish to the new domain.
Check the connection
Under Marketing integrations or Google Analytics settings, confirm the measurement ID, and that the new domain is the connected primary domain.
Check the ID
Under Settings > Developer Tools or Marketing > Integrations (depending on version), confirm the Google Analytics measurement ID and that the new domain is primary.
Search for hardcoded hostnames
Search your templates for the old domain and for the G- ID, and check any
linkerdomains in your gtag config.
gtag('config', 'G-XXXXXXXXXX', {
'linker': {
'domains': ['www.example.com', 'checkout.example.com']
}
});How to confirm it's fixed
- The stream details show the current domain.
- Realtime shows your own visit to the new domain.
- Hostname in an Explore report lists the new domain and no unexpected old one.
- The cross-domain list includes every domain in the funnel.
- Key events (such as a form submit) still appear in Realtime or DebugView after a test.
How to prevent it happening again
- Update the GA4 stream name and URL on launch day.
- Recheck the measurement ID on the new domain.
- Update cross-domain settings and referral exclusions.
- Update any hostname conditions in your tag manager.
- Reconnect or review linked products such as Google Ads and Search Console.
- Note the change and date in your internal documentation.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. The stream URL is an admin setting inside your GA4 property, and a robot visitor running your journeys cannot read it. A setup audit or a manual review of the GA4 Admin area, or a documented analytics configuration checklist, is the right kind of tool.
Questions people ask
Does the GA4 data stream URL affect data collection?
No. GA4 collects data from any page that runs your measurement ID, whatever URL is saved in the stream. The URL is mainly a label. Check the tag on the live site to be sure data is flowing.
How do I change the website URL of a GA4 data stream?
Go to Admin > Data streams, click your web stream, and edit the stream details. Change the stream name and, where the field is editable, the URL. You need Editor access or higher on the property.
Why can't I edit the URL in my GA4 web stream?
In some interfaces the URL field is not editable after creation. You can rename the stream to name the current site. If you truly need a new URL, create a new web stream and install its new measurement ID.
Do I need a new GA4 property when my website changes domain?
Usually not. You can keep the same property and measurement ID and install the tag on the new domain. That keeps your history in one place. Create a new property only if you want separate reporting.
Will changing the stream URL delete my GA4 history?
No. Editing the name or URL does not change your measurement ID or remove past data. Your reports and key events keep their history.
Why is GA4 showing traffic from my old domain?
The old domain may still be live, redirected pages may still load the tag, or other sites may use your measurement ID. Add Hostname as a dimension in an Explore report to see which domains send hits.
What else should I check in GA4 after moving to a new domain?
Check the measurement ID is on every page, cross-domain domain lists, referral exclusions, tag manager hostname conditions, and links to Google Ads and Search Console. Then test a conversion and confirm it arrives.
Related issues
- TRK-003Wrong GA4 measurement ID (staging or another client's property)Fix guide
- TRK-001GA4 tag missing from a funnel pageFix guide
- TRK-002GA4 tag missing site-wide after a theme or builder changeFix guide
- TRK-013GA4 missing on hosted checkout or booking domainFix guide
- TRK-018GA4 data stream deleted or property in trashFix guide
- TRK-004Old Universal Analytics (UA-) tag still installed, GA4 absentFix guide