Questions tagged [google-analytics-api]

A set of APIs for building custom reporting solutions and programmatically managing existing Google Analytics accounts and users.

Google Analytics is a free data collection and analysis platform by Google. The Reporting and Management APIs are for developers already tracking data with the Google Analytics collection libraries. See also the google-analytics tag for general information.

The Reporting APIs

Save time by automating complex reporting tasks and integrate Google Analytics data with other data for deeper insights about your business with these Reporting APIs:

The Management API

Authorized users can programmatically access and manage Google Analytics accounts, users, and data with the Management API.

In addition to managing all account levels and users, you can also use this API to manage certain types of data, like upload cost data to Google Analytics for non-Google paid campaigns, retrieve account data to use with the Reporting APIs, and manage content experiments.

Demos & Tools

Developers to discover what's possible with the Google Analytics Platform. Explore what’s possible and learn how to build powerful and flexible applications with the Google Analytics Demos & Tools.

More links:

4319 questions
1
vote
0 answers

batchget with 1 request in throwing "Quota exceeded for quota group 'AnalyticsDefaultGroup' and limit 'CLIENT_PROJECT-1d"

Hi this was working for me a couple of weeks ago, however i keep getting this now. Quota exceeded for quota group 'AnalyticsDefaultGroup' and limit 'CLIENT_PROJECT-1d' error 429 As far as i am aware this should reset midnight pacific time. But it…
1
vote
1 answer

Google Analytics API filter returning too strict of values

I'm attempting to filter data down by page path which is simple enough in most cases. However, I'm getting an unexpected result returned: data = service.data().ga().get( ids='ga:' + profile_id, start_date='2018-06-15', …
mnjt
  • 137
  • 1
  • 1
  • 8
1
vote
1 answer

why %new sessions by month differs from averaging %new sessions by each day of that month

I have the following problem, I want to see the percentage of new sessions in a given month. I am specifically interested in new sessions by "direct" channelgrouping in custom report I set dimensions for November: yearMonth, source, medium,…
nurma_a
  • 139
  • 8
1
vote
1 answer

Getting token in Google Analytics API for Postman

I need to create request for getting data from Google Analytics API in Postman. I managed to generate access token with playground platform but I need permanent refresh token (in playground I can generate only 24h token). I tried to generate token…
1
vote
1 answer

Gathering data from google analitycs to my own admin panel

I'm starting with google analitycs. Before I'll start implementing this into my pages I'm wondering if I'm able to get informations like average time at site, where my user came from, which devices they are using etc. I would like to get those…
BT101
  • 3,666
  • 10
  • 41
  • 90
1
vote
1 answer

API realtime Google analytics is not working on client side with js

I have tried use API key, and OAuth 2.0. As result I have this error: http://prntscr.com/lov2pz Which API key should I use? What mistakes have I made?