[GA4] Find your Google tag ID

Use the Google tag ID for Google Analytics 4 properties (vs. the Tracking ID for Universal Analytics 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. Sign in to your Google Analytics account.
  2. In Admin, under Property settings expand Data collection and modification.
  3. Click Data streams.
  4. 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.
  5. In the Google tag section at the bottom of the Web stream details page, click Configure tag settings.

  6. 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. Sign in to your Google Analytics account.
  2. In Admin, under Property settings expand Data collection and modification.
  3. Click Data streams.
  4. 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.
  5. In the Google tag section at the bottom of the Web stream details page, click View tag instructions.
  6. On the Installation instructions page, click Install manually.
  7. Copy the entire section of code beginning with:

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

    and ending with

    </script>

Find your "UA-" ID

You do not need a Tracking ID ("UA-" ID) to set up a new GA4 property. Only (legacy) Universal Analytics properties have a "UA-" ID.
  1. Click Admin in your Universal Analytics property.
  2. In the Property column, click Property Settings.
  3. Your "UA-" ID appears at the top of the Property Settings page.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu