Use the Google tag ID for Google Analytics 4 properties (vs. the Tracking ID for Universal Analytics properties).
To set up a Google Analytics 4 property for your website, you need a Google tag ID (which usually starts with "G-").
When you set up your Universal Analytics property, you needed a Tracking ID (which starts with "UA-").
Find your Google tag ID
To find your Google tag ID (which usually starts with "G-"), do the following:
- Sign in to your Google Analytics account.
- Click Admin.
- At the top of the Property column, select your property.
- In the Property column, click Data streams.
- Click the data stream for which you need the ID.
- In the Google tag section, click Configure tag settings.
- In the Your Google tag section, copy the ID that starts with "G-" or "AW-".
Don't see a Data streams option in the Property column? You have a Universal Analytics property instead of a GA4 property.
Find your "UA-" ID
Only Universal Analytics properties have a "UA-" ID.
- Click Admin in your Universal Analytics property.
- In the Property column, click Property Settings.
- Your "UA-" ID appears at the top of the Property Settings page.