How to find your Google Analytics property Tracking ID

What is Analytics Tracking (Property) ID and where to find it

Updated on October 26, 2020

No matter if you need it to track your Youtube videos, Shopify store or WordPress site, the Google Analytics property tracking ID plays a critical role in your site’s tracking. That’s why in this article, we’ll explore what is the Google Analytics tracking ID and where to find it.


What is Google Analytics property tracking ID

Google Analytics Tracking ID (aka Property ID) is the unique identifier of a GA property. It allows Analytics and other apps to distinguish your property from other properties. This allows data to be sent specifically to your property, which can be later viewed in your Analytics account.

That is why when sending data to a GA web property, you need to specify the property ID. However, this is not the case when using GA4 properties, but more on this in the sections below.

The GA tracking ID is made up of 3 elements: Analytics version, account ID and property index number.

GA property tracking structure

Each element is separated by a dash. GA version, which is the first element of the property ID, usually has a value of UA which stands for Universal Analytics.

The account ID is the second element of the tracking ID while property index is the third element.

How to find it in Universal Analytics (old) properties

In a Universal Analytics property, the tracking ID is located on the “Property Settings” page. To access it, go to Admin and from the Property column, click on “Property Settings”.

Analytics property ID

You can also get the property ID from the “Tracking Code” page located in Admin -> Property Column -> Tracking Info -> Tracking Code.

Property ID from tracking code

Beside it, you can also get the Global Site Tag from that page, allowing you to install the basic pageview tracking.

How to find it in Google Analytics 4 (new) properties

Google Analytics 4 is the latest GA version, launched in October 2020. With it, Google hopes to provide smarter insights so that businesses would take better marketing decisions and improve their ROI.

In a way, we may view this as Google’s response to the various consumer behavior and privacy-driven changes that occurred lately (GDPR, ITP, increased user awareness about tracking and privacy, etc).

While in beta testing from 2019 to 2020, Google Analytics 4 properties were called “App + Web properties” but with the official launch, they changed the name.

Starting October 14th 2020, GA4 properties are the default when you create a new property.

For users used to previous GA versions, it might come as a surprise but GA4 properties do not have property IDs. At least not for Android and iOS Data Streams.

That is because data collection principles of these properties are a little bit different than that of previous Universal Analytics properties.

And these differences also bring new options and terminologies, like Data Streams.

A Data Stream is a data connection created specifically to track an app or a website. GA4 properties do not have views like regular Universal Analytics properties so they use Data Streams instead.

Depending what you want to track, you can add an Android app, iOS app and Web based Data Streams.

Android and iOS app Data Streams do not have property IDs as they get the data from Firebase instead of GA libraries (ga.js, analytics.js, gtag.js).

Because of this, Android and iOS Data Streams from GA4 properties do not need a tracking ID to work, as all their data comes from the Firebase SDK.

So to have the data available in a Google Analytics 4 property, you need to add Firebase to your app and link it to Analytics.

After this the GA4 property will start getting data. And all of this without a tracking (property) ID.

For GA4 properties using Web based Data Streams, the data collection principles are the same as for Universal Analytics properties, as they use the gtag.js library. Because of this, Web Data Streams also have property IDs, however they are called “Measurement IDs”.

To get the Measurement ID, from the property column of your GA4 property, go to Data Streams and click on a Web based Data Stream of your choice. If you don’t have a Web based Data Stream, you need to add one first.

GA4 Web data stream property from Google Analytics

On the next screen you should see the Measurement ID in the top right corner.

Measurement ID from web data stream

Now you can install the tracking for this Data Stream using the Global Site Tag (gtag.js) script available on that page or via Google Tag Manager using the “GA4 Configuration” tag type.

34 Comments Leave a reply

  1. How do you find the UA tracking code as I have gone into property settings an all I can see is property ID. This is a headache as I want the UA tracking code and cannot find it for love or money.

    Why does Google change things to cause probelms for people?

    If they want to add someithing then by all means but do so, but not go changing things for the hell of it. Not everyone has hours to spend researching how to do one simple task. Time is money for me and I have wasted loads of time and have simply got no where.

    Can you send me step by step how to get the UA tracking code please.


    1. Hi Renata!

      Indeed, the latest Google Analytics changes created a lot of frustration among users however let’s hope that these changes are for the better.

      Regarding finding the tracking code, if you’re only seeing the property ID in the property settings then most likely you have a new GA4 property, which as we explained in the second part of the article, is the default property type as of October 14 2020.

      GA4 properties work a little bit different than Universal Analytics (UA) properties and do not have a Tracking ID but use a Measurement ID instead. You could read the last part of the article for more details.

      Anyway, to find the Measurement ID, assuming you have a GA4 property, you need to go to Property / Data Streams and click on a web based property from there. If you see no data streams there, you’ll have to create one.

      If for some reason you do not want to use the new Measurement ID and prefer to use a Tracking ID instead, when creating a new property, click on “Show advanced options” and enable the “Create a Universal Analytics property” option, as shown in the image below.


    1. The UA number (Tracking ID) is available only for Universal Analytics properties. So if your property is a Universal Analytics one, you can find the UA number in Admin / Property Settings.

      If you don’t see it there, it means that you are using a GA4 property, which is the default type of property starting October 14 2020.

      In GA4, the Tracking ID is called Measurement ID and is available only after you create a Web based Data Stream. To manage your Data Streams, go to Property / Data Streams and either click on an existing Data Stream to see its Measurement ID or create a new one.


    1. For the default Gtag.js library or the GTM implementation (via GA4 tag), you don’t need the Tracking ID as the Measurement ID from GA4 property is enough.


  2. I need to integrate with a payment platform that only accepts the UA-000000-1 format. How to proceed if this ID no longer appears in the new version of analytics? thank you


    1. If your payment platform accepts only old UA formats, then I would suggest to create a Universal Analytics property instead of GA4 property.

      To do so, when creating a new property, click on “Show advanced options” and enable the “Create a Universal Analytics property” option, as shown in the image below.

      After this, you’ll be able to view the UA tracking ID in Admin / Property Settings, as it was before.


  3. Thank you Carol so much! This new GA4 update was driving me crazy. The most incredible is the lack of information about it from Google itself.


  4. Hi Carol: Awsome details. Thank you. One question: If I go to “Show Advanced Options” and turn on the button, it says that this will not work for apps. Does it mean that the Universal Analytics property generated here is for websites only?


    1. You’re welcome. Yes, that ID is only for websites. If you want to track your app, try to create an Android or iOS Data stream in the new GA4 property.


  5. Hi Carol: Thank you so much for your reply. I am still lost. I am not a developer. Rather I am an author and trying to publish my books as apps. I am using an app builder program which allows me to put in Admob banner ad unit id. I created the firebase account and registered the app. It gave me a banner ad unit id. Which I included in the app before uploading to Google Console. The apps are showing but nothing is being reported.

    I only have an .apk file and option to read java/css. I do not have a project file. Analytics is asking:

    1) To add google-services.json file into project root directory
    2) Modify build.gradle files to use the plugin.

    I skipped these two steps and I am seeing ads on my app and people are downloading it. It has been several days. I tried adding json file to java option but no still nothing.

    Can you suggest something? Would really appreciate your help. Thank you so much.


    1. Also, I do have a stream id. Can I use it in place of ad banner id and in what format (ca-app-pub-STREAM ID)? current format is ca-app-pub-xxxxxxx/yyyyyyy


  6. This message is a cri de coeur, not a question: I’ve been trying for three days to set up a GA4 account for a personal, non-commercial website. I’m sure the instructions are perfectly clear to Google geeks, but they aren’t clear to a beginner like me. In fact, sometimes they’re so arcane that they seem written in a semi-foreign language, and to make matters worse, in some cases multiple terms apparently describe more or less the same thing, or something quite simple. (Example: why is the word “event” used when the correct English term should be “action”?) The jargon is so dense that I’m constantly looking up the difference between terms like “property id” and “measurement id.” All I want or need is to be able to see how many unique hits I get in a 24- or 48-hour period and how long they stay on the page.

    I know that communication with the lower orders isn’t Google’s strong point, but the instructions for GA4 installation are practically a parody of tech-speak. I’m finally at the point where supposedly all I have to do is copy a code, or a tag, or whatever into my website. (Where does it go??? Tell me!!!) Unfortunately, now I’m so confused that I can’t even remember on which page I do that. Seems like it would be so easy to explain all this to a newbie in a simple 1-2-3 step list without using jargon, but apparently that’s above Google’s pay grade.


    1. Hi Dona! I am sorry to hear about this.

      I know that the GA4 change created a lot of confusion among GA users and that’s why we publish articles like this to help the community. Please be aware that we are an independent web agency and are not affiliated with Google LLC.

      Regarding the 1-2-3 step list of installing Google Analytics on a website, the process to install GA tracking is different based on the CMS (Content Management System) your website uses. So the process to install GA on a WordPress site is a little bit different than installing it on a Wix website. Usually the CMS provides instructions on this matter.

      I have checked your website and could not figure out if it uses a CMS or not so assuming that it does not use a CMS, here are the steps to install GA tracking on it:
      1) Create a new GA4 property
      2) Go to Admin / Data Streams (from the property column)
      3) Click on the blue “Add stream” button and select “Web” from the drop down.
      4) On the next page, enter your website URL and stream name and click on “Create Stream” from the bottom.
      5) Once you have created a web stream, click on it and copy the code from the “Global Site Tag (gtag.js)” section.
      6) Next go to your website and paste this code in the head of each page you want to track.

      Usually websites have a file like header.php which is loaded on all pages. So to avoid adding the GA tracking code on each individual page, you could add it in this header.php file (or however it is called in your particular case).

      Please note that if your site has no CMS, then you’ll have to log in to your web hosting in order to edit the header.php file.

      For cases when your website does use a CMS, then you just need to follow the steps until point 5 where you would copy the “Measurement ID” and follow your CMS’s instructions on how to install GA.


  7. Hi! Thanks for the article 🙂 I just set up my GA and am looking for my UA number so that I can set up my variables in Console in order to create tags. I followed instructions to create a new property via firebase, which I did, however once I did that, and it was showing as a drop-down option, I still had no Tracking ID number under Property settings! Do you have any idea why this is please!?


    1. Hi Gemma! You’re welcome. If you don’t see the Tracking ID in the Property settings page, it means that you are using the new GA4 property. If this is the case, then you need to go to Admin / Data Streams and create a “Web” data stream to get the tracking id (it is called “Measurement ID“) in GA4 properties. Now you can use this ID to fire GA on your websites.

      If you need to add tracking to your mobile app, then when creating a new data stream, choose either “Android app” or “iOS app” from the “Add stream” dropdown. Next, follow the instructions from the screen. Please be aware that to track Android or iOS apps, in GA4 properties, you don’t need a Tracking ID.


  8. Hello Carol,

    today I set up the new Measurement ID on my website and I can see in Tag Assistang measurement ID and also Tracking ID (UA). Is it the same thing? I mean, is “UA” code part of “G” code? Because the website is brand new and I didn´t put there any other tracking code “UA” before. I am little bit confused. But I checked my account and I see first data so it seems that code works.

    Thanks you for advice.

    Best regards



    1. Hi Boris!

      Assuming that you are referring to the same website you used when submitting the comment, then no, those 2 IDs are different.

      One ID is used by the previous version of GA – Universal Analytics while the other is used by the new GA4 property.

      So at the moment, you have 2 different tracking codes installed on your site.

      If you only added the GA4 script (that uses the Measurement ID), could it be that the UA code was added by your CMS?


  9. Very informative article. I was very confused when I couldn’t find the tracking ID on the property settings page but luckily I found your article and now I know where to get it. Thanks! Keep up the good work.


  10. google analytics has become a bloated mess. they add new features no one cares about, and previous features now hard to find, or removed.
    Where’s the “Send Test Traffic” for example? That use to be the easiest, fastest way to know if site to analytics connection is working, now its gone.


    1. You could use the Realtime report from the new GA4 interface to check if the tracking is working. Or, you could open your Data Stream and check the “Status” field.


  11. If you can’t find your Google tracking info try and follow these steps.
    **Here is the answer.**

    1. When you click on admin create a new property ( name it whatever you want )
    2. Click on show advance options
    3. Tick the Create a Universal Analytics property to be on
    4. Select to Create a Universal Analytics property only
    5. Click next and fill in the rest of the information

    When you are finished with the process you should now see the tracking info in your new property.

    If this helped you out, please let me know.


  12. I am having so much trouble with setting up google analytics on my Squarespace website.

    I was not able to ever get a Tracking Id so I used the measurement ID you mentioned above and injected the code into each page header in Squarespace via global site tag. Still nothing!


    1. This is strange. If you have added the Global Site Tag via code injection to your Squarespace website, the tracking should work.

      Have you copied the Global Site Tag from the web stream details page (Admin -> Data Streams) or from a different place?


  13. I am a senior and have built a site that need the UA code, which site do I go to in order to find Admin, and perform the necessary steps to get this code.

    In my site builder there is a setting icon but I cannot find Admin.


    1. Hi Homer!

      The URL you need to go to is , the default Google Analytics page.

      Once on that page, click on the settings icon from the bottom left corner and you’ll be redirected to the Admin page.

      Next you can follow the steps from the article to find the UA code.


  14. It is really very frustrating to find the tracking info, I thought there is something missing on my Google Analytics page before I read this post.
    But the real problem for me is how could I verify my Google Analytics integration. There was an option before that help us to track whether or not the tag or tracking code has been placed rightly on the website.
    How could I do that now?


  15. Carol Hill is killing it!

    Thank you for the help.. this is so unnecessarily confusing. Love the smart people at Google who think complicated is better.



Leave a Reply

Thanks for choosing to leave a comment. Please keep in mind that comments are moderated and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.