anu
anu

Reputation: 41

google analytics data API - Property ID

I am using google analytics data API. Making an API Call as listed here - https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries.

My question is how do I enabled google analytics Data API for an already existing project. I need access to specific property ID.

any information is highly appreciated.

Upvotes: 1

Views: 931

Answers (2)

Shila Mosammami
Shila Mosammami

Reputation: 1067

Following google support link, you should first log into analytics.google, then in admin page enter image description here.

then click on GA4 setup Assistant like the photo enter image description here

Upvotes: 0

Michele Pisani
Michele Pisani

Reputation: 14179

You have to follow Step 1 (Enable the API) and Step 2 (Add service account to the Google Analytics 4 property) in your link. Then use your property ID called Measurement ID (i.e. G-XXXXXXXX) that you can find in Data Streams (selecting a Data Stream) in Google Analytics 4 Admin Panel.

Upvotes: 1

Related Questions