Skip to main content

All Questions

0 votes
0 answers
18 views

Google Analytics Reports API - sufficient permissions for this profile [duplicate]

enter image description here I'm sure I configured the entire project in both Google Analytics and Google Cloud but it still gives me this, I'm using the credentials from a file generated in JSON and ...
Matheus's user avatar
1 vote
0 answers
47 views

Incorrect data in GA4 realtime reporting API vs UI

When I use the Google Analytics RealTime API, I get a difference in the data between the API response and the data from the GA4 UI dashboard. I want to retrieve the active users for the last 30 ...
Maxime Neuville's user avatar
0 votes
0 answers
36 views

Google Analytics API: How to run a report for AlphaAnalyticsDataClient?

The Issue I cannot figure out how to run a report in the Google Analytics API for AlphaAnalyticsDataClient Alpha. There is seemingly no equivalent for client.run_report for Alpha. What would be the ...
Michael Lee's user avatar
0 votes
0 answers
33 views

Google analytics batch reports

I have a problem, I am not sure how can I make this work, so i have ecommerce website and since everyone can sell on it i need to make it possible for every seller to see how many page views his ...
Joe's user avatar
  • 1
0 votes
1 answer
60 views

New Dimension in RunReportRequest Reduces Results in Google Analytics (GA4) Python Data API

The behaviour I’m looking to understand (and ideally resolve) has to do with generating custom reports with a new companyId dimension created last week. I notice that with the code below, when I ...
mr. sudo's user avatar
  • 357
0 votes
1 answer
32 views

How to use google analytics to save an individual user's country to the database?

In a flask web application with a PostGres database, I want to get the country of a user when they register and save it to the database. I am trying to do this with google analytics/ GA api on their ...
Thatguyfromthething's user avatar
0 votes
1 answer
63 views

Issue with IP Anonymization Using ReactGA

I'm currently using the ReactGA library in a React.js project to implement Google Analytics. My goal is to anonymize IP addresses to comply with GDPR regulations, but I'm having trouble getting it to ...
Jayant Singh's user avatar
0 votes
0 answers
47 views

PERMISSION_DENIED for google analytics batchGet API

I'm encountering a permission error while calling the batchGet API. API: "https://analyticsreporting.googleapis.com/v4/reports" Response: "message": "User does not have ...
Demo User's user avatar
-1 votes
1 answer
119 views

Google GA4 Missing data and some metrics are 0 in some months of 2023 [closed]

I notice a couple issues with Google GA4 that I was hoping to get some insight on. I am no longer seeing any data from before March 2023. I remember being able to see data from this month and the ...
byen's user avatar
  • 5
0 votes
1 answer
51 views

Why is the Google Analytics Admin API API ignoring the "gcloud auth activate-service-account" configuration?

This is the only API I've seen behave like this. Setting export GOOGLE_APPLICATION_CREDENTIALS=mykey works but doing gcloud auth activate-service-account --key-file=mykey and then executing my code I ...
red888's user avatar
  • 31.3k
0 votes
0 answers
29 views

Get list of date dimensions in chronological order

I would like to get a list of views (any metric really) using the google analytics API. I used the metrics for screenPageViews and the dimension date. I do get the metrics, but they are not in ...
M4X_'s user avatar
  • 547
0 votes
0 answers
85 views

Google Analytics returns 500 when creating new access bindings for service accounts

Google analytics returns status code 500 when trying to add a new service account email. Content-Type: application/http Content-ID: <response-batch<id>@googleapis.com> HTTP/1.1 500 ...
mongj's user avatar
  • 1
0 votes
0 answers
43 views

How to exclude users when eventName exactly matches {event name} at any point in time using API?

I am using BetaAnalyticsDataClient with python, and unable to filter users that have done this event out from the data. I have been able to download the full data OR users that have done this event ...
henricat's user avatar
1 vote
0 answers
91 views

"@google-analytics/data": "^4.x.x" add metricAggregations array. Throw error "Cannot serialize object to proto3 JSON since its .$type is unknown."

I'm using "@google-analytics/data": "^4.7.0" to request ga report, in the request array, I add some payloads which can be mocked by GA4 query explorer, payloads are like dateRanges,...
stevetanus's user avatar
0 votes
2 answers
241 views

How to retrieve Purchase Conversion Rate in Google Analytics 4?

I want to build an API to retrieve the Conversion Rates of Purchases via Google Analytics 4. (I understand after reading blogs these are now called 'Key Events') I am new to GA4 so learning as I go. ...
Michael's user avatar
  • 2,657

15 30 50 per page
1
2 3 4 5
192