A Measurement ID is the identifier that tells the Google tag which GA4 destination should receive your data. Google describes it as “a series of letters and numbers that usually starts with G-“, and it is found in the GA4 admin under Property settings → Data streams → your stream → Stream details. The detail that causes most of the confusion around it: a Measurement ID belongs to a data stream, not to a property. A property with a website stream and an app stream does not have one ID — it has one per stream. This entry covers the format, where it lives, how it differs from the property ID and the retired Universal Analytics tracking ID, and the mistakes that quietly send data to the wrong place.
What the Measurement ID Identifies
When the Google tag loads on your page, it needs an address for the data it is about to send. The Measurement ID is that address. It appears in the tag’s configuration call:
gtag('config', 'G-XXXXXXXXXX');
Every hit the tag produces — every pageview, every event — carries this identifier, and Google routes it to the matching stream. Change the ID and the same website starts reporting into a different property, with no other change and no warning.
Format and Prefixes
Google states the Measurement ID starts with G- or AW-. In everyday GA4 work you will see the first:
| Prefix | What it identifies |
|---|---|
G- |
A GA4 data stream — the standard Measurement ID |
AW- |
A Google Ads conversion destination |
GTM- |
A Google Tag Manager container, not a measurement destination at all |
UA- |
A Universal Analytics tracking ID, from the retired previous generation of Analytics |
The GTM- confusion is the frequent one. A container ID loads the tag management system; it does not by itself send anything to Analytics. Pasting a container ID where a Measurement ID belongs produces a site that appears to be tagged and collects nothing.
Measurement ID vs Property ID
Both belong to GA4 and they are not interchangeable:
- Measurement ID —
G-XXXXXXXXXX, per data stream, used by the tag sending data in. - Property ID — a plain number such as
123456789, one per property, used when reading data out: the Data API, BigQuery links, third-party connectors and reporting tools.
A dashboard tool asking for “your GA4 ID” almost always wants the numeric property ID, and supplying the G- value is the reason so many connector setups fail with an unhelpful error. The rule of thumb: data going in uses G-, data coming out uses the number.
Where to Find It
In the GA4 interface: Admin → Property settings → Data streams, then click the stream name. The Measurement ID is shown in the Stream details panel at the top right, next to the stream URL and stream ID. Google notes you need Editor or above permissions at the property level to see it.
If you only have access to the live website rather than the Analytics account, the ID is also visible in the page source — it appears in the gtag configuration call or in the network request to Google’s collection endpoint. This is the fastest way to answer “which property is this site actually reporting into?” during an audit, and it occasionally reveals a second, forgotten tag firing alongside the intended one.
One ID Per Stream, Not Per Property
This is the structural point worth internalising. A property can hold several data streams — a website, an iOS app, an Android app — and each carries its own Measurement ID. Data from all of them lands in the same property and appears in the same reports.
Two consequences follow:
- Subdomains and separate sites. If you deliberately want one combined property for several web properties, they can share a single stream and therefore a single Measurement ID. Creating a stream per domain instead splits nothing at the reporting level but does change how cross-domain tracking must be configured.
- Staging environments. A staging site left carrying the production Measurement ID pollutes real reports with internal traffic that looks organic. Use a separate stream for non-production, or suppress the tag there entirely.
Common Mistakes
- Two Measurement IDs on the same page. Usually one hard-coded in the theme and another added later through tag management. Both fire, both collect, and traffic appears doubled in one property while the other quietly accumulates a partial copy of the same data.
- Copying an ID between environments. A site cloned from a template arrives with the original owner’s Measurement ID still in place, sending your traffic to someone else’s property.
- Using the container ID. As above —
GTM-is not a destination. - Supplying
G-where the property ID is required. Reporting connectors, the Data API and BigQuery all want the number.
All four are visible in under a minute: load the site, open the network panel, filter for the collection request, and read which IDs are actually being sent. What the tag does is the only reliable statement of where your data goes — the admin screen tells you what should be happening, not what is.
Frequently Asked Questions
What is a Measurement ID in GA4?
It is the identifier that tells the Google tag which GA4 destination should receive the data. Google describes it as a series of letters and numbers that usually starts with G-, and every pageview and event the tag sends carries it so Google can route the hit to the right data stream.
Where do I find my Measurement ID?
In GA4, go to Admin → Property settings → Data streams and click the stream name. The Measurement ID appears in the Stream details panel. Google notes that Editor or above permissions at the property level are required. If you only have the website, the ID is also visible in the page source inside the gtag configuration call.
What is the difference between a Measurement ID and a property ID?
The Measurement ID looks like G-XXXXXXXXXX, belongs to a single data stream, and is used by the tag sending data into Analytics. The property ID is a plain number such as 123456789, belongs to the property, and is what reporting tools, the Data API and BigQuery links ask for when reading data out. Data going in uses the G- value; data coming out uses the number.
Does each data stream have its own Measurement ID?
Yes. A Measurement ID belongs to a data stream, not to a property, so a property containing a website stream and two app streams has three of them. All the data still lands in the same property and appears in the same reports.
Can I use a GTM container ID instead?
No. An ID starting with GTM- identifies a Google Tag Manager container, which loads the tag management system but is not a measurement destination. Using it where a Measurement ID is expected produces a site that looks tagged and collects nothing in Analytics.
What happens if two Measurement IDs are on the same page?
Both tags fire and both collect. This usually happens when one ID is hard-coded in the theme and another is added later through a tag manager. The result is inflated traffic in one property and a partial duplicate dataset quietly accumulating in the other. Check the collection requests in the browser network panel to see which IDs the page actually sends.
Related Terms
- Data stream — what a Measurement ID belongs to
- Container — the GTM- identifier it is confused with
- Tag management — how the tag is usually deployed
- Event — what the tag sends to the identified stream
- Cross-domain tracking — affected by stream structure
- DebugView — where to confirm data is arriving