Back to Blog

GA4 Measurement ID: Where to Find It (Plus Your Property ID)

Find your GA4 measurement ID (G-XXXXXXX) in 4 clicks, plus your property ID, what each one is for, and how they differ from account, stream and old UA- IDs.

Posted by

GA4 has several IDs, and tools, plugins and developers ask for different ones. The two you'll need most are the property ID and the measurement ID. Here's where to find each, and which one to use where.

The Quick Answer

  • Measurement ID looks like G-AB12CD34EF. It goes in your website's tracking code, WordPress plugins and Tag Manager. Find it under Admin > Data collection and modification > Data streams, then click your web stream.
  • Property ID is a number like 123456789. APIs, Looker Studio, BigQuery and reporting tools use it. Find it under Admin > Property settings > Property details, shown at the top right.

Finding the Measurement ID, Step by Step

  • Open Google Analytics and choose the right property in the top-left selector.
  • Click Admin (the gear icon, bottom left).
  • Under the property column, open Data collection and modification > Data streams.
  • Click your website's stream. The Measurement ID is at the top right of the stream details, with a copy button.

Each web data stream has its own measurement ID. If one property has several web streams, make sure you copy the one for the site you're working on.

Finding the Property ID, Step by Step

  • Click Admin.
  • Under the property column, open Property settings > Property details.
  • The Property ID appears at the top right of the page.

Shortcut: when you're viewing any report, the property ID is in the browser's address bar, right after /p. For example, analytics.google.com/analytics/web/#/p123456789/reports/... means the property ID is 123456789.

The Other IDs You Might See

  • Account ID: a number for the account that contains your properties. Rarely needed except for some API setups.
  • Stream ID: a number identifying a data stream, shown next to the measurement ID. Used by some integrations and the Admin API.
  • UA-XXXXXX-X: an old Universal Analytics ID. Universal Analytics stopped processing data in 2023 (2024 for 360), so if a plugin or theme still uses a UA- ID, it isn't collecting anything. Replace it with your G- measurement ID.
  • GTM-XXXXXXX: a Google Tag Manager container ID, not a GA4 ID. Your GA4 tag lives inside the container and uses your G- measurement ID.

Managing Many Properties?

If you look after several sites, keeping track of which property ID belongs to which site gets messy. Perch Analyticslists every GA4 property your Google account can access, with each property ID shown on its card and a one-click link to open it in Google Analytics, alongside live visitors, today's traffic and Search Console data.