Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue in finding Tracking Id for Google Analytics

I have to integrate Google Analytics in my Android app.

Completed all the code for it But, Having one issue.

The Issue is taking Tracking ID from my google analytics account.

According to the Document :

==> To find the Google Analytics ID (Tracking Id):

  1. Sign in to your Analytics account.

  2. Click Admin.

  3. Select an account from the menu in the ACCOUNT column.

  4. Select a property from the menu in the PROPERTY column.

  5. Under PROPERTY, click Tracking Info > Tracking Code. Your Google Analytics ID is displayed at the top of the page.

But, I can't find Tracking Info Option or any Tracking Code there according to the step number : 5.

From where can I get Tracking Id which look like this one : (UA-41888835-6) ?

NOTE : I can find Property Id there.

like image 680
Jaimin Modi Avatar asked Aug 21 '19 05:08

Jaimin Modi


People also ask

Why I am not getting tracking ID in Google Analytics?

Select an account from the menu in the ACCOUNT column. Select a property from the menu in the PROPERTY column. Under PROPERTY, click Tracking Info > Tracking Code. Your Google Analytics ID is displayed at the top of the page.


2 Answers

While creating property click on advanced option and enable "Create a Universal Analytics property". This will select show advanced option

Then enable "Create a Universal Analytics property"

select - "Create both a Google Analytics 4 and a Universal Analytics property"

then lick next and complete the property creation, now you will have two different properties created. Now choose the universal property where you will find the tracking info. GA4 will not have tracking info.

like image 112
user3479162 Avatar answered Oct 20 '22 09:10

user3479162


There are 2 ways to get the Tracking ID in Google Analytics:

  1. If you are using web properties, then Tracking ID is in Admin / Property / Tracking Info / Tracking Code, just as you noted in your question.

  2. If you are using App + Web properties, things get a little bit more complicated. For Android and iOS apps Data Streams, there is no tracking ID as to have GA tracking, you need to add Firebase in your app and link your GA account with Firebase.

However if you are using a web Data Stream, you can get the Tracking ID (although it is called Measurement ID) from Admin / Property / Data Stream / Web.

You may read more details on this article https://analyticshelp.io/blog/google-analytics-property-tracking-id/

like image 3
unixdebian11 Avatar answered Oct 20 '22 07:10

unixdebian11