[GA4] Find your Google tag ID

Use the Google tag ID for Google Analytics 4 properties.

A Google tag ID is a series of letters and numbers that usually starts with "G-". You need a Google tag ID to set up a Google Analytics 4 property for your website using Google Tag Manager and many content management systems (CMSes).

A Google tag is a piece of code that you place on your website. If you don't use Google Tag Manager or a CMS with an integration for the tag ID, you need a Google tag to set up a Google Analytics 4 property for your website.

Google tag ID vs. Tracking ID
Google Analytics 4 has replaced Universal Analytics. Universal Analytics properties used a Tracking ID (which starts with "UA-"), but Google Analytics 4 properties use a Google tag ID (which usually starts with "G-").

To set up a new Google Analytics property, you do not need a Tracking ID.

Find your Google tag ID

A Google tag ID is a series of letters and numbers that usually starts with "G-".

To find your Google tag ID , do the following:

  1. In Admin, under Data collection and modification, click Data streams.
    Note: The previous link opens to the last Analytics property you accessed. You can change the property using the property selector. You must be an Editor or above at the property level to find your Google tag ID.
  2. Click the name of your data stream.
    If you don't see any data streams and see "Choose a platform," you must add a data stream first. Go to Add a data stream.
  3. In the Google tag section at the bottom of the Web stream details page, click Configure tag settings.

  4. In the Your Google tag section on the Google tag page, copy the ID that starts with "G-" or "AW-".

    Measurement ID in the Web stream details pane

Find your Google tag

A Google tag is a piece of code that starts with <!-- Global tag (gtag.js) -->.

To find your Google tag, do the following:

  1. In Admin, under Data collection and modification, click Data streams.
    Note: The previous link opens to the last Analytics property you accessed. You can change the property using the property selector. You must be an Editor or above at the property level to find your Google tag.
  2. Click the name of your data stream.
    If you don't see any data streams and see "Choose a platform," you must add a data stream first. Go to Add a data stream.
  3. In the Google tag section at the bottom of the Web stream details page, click View tag instructions.
  4. On the Installation instructions page, click Install manually.
  5. Copy the entire section of code beginning with:

    <!-- Global tag (gtag.js) -->

    and ending with

    </script>

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
6447127130789153380
true
Search Help Center
true
true
true
true
true
69256
false
false