Relative Content

Tag Archive for google-analytics-api

Funnel Report GA4 Filter on pagePath Using Google Analytics API

I am working with the Google Analytics API to generate a funnel report, but I am running into an issue when trying to filter on pagePath. I believe I am setting up my filters correctly, the report does not seem to apply the pagePath filter as expected.

Data retrieval for GA3 API is cut: it returns data only up to certain date for certain combinations of dimensions and metrics

I am trying to download data from Universal Analytics (GA3) with the API.
I have downloaded different datasets, with different combinations of dimensions and metrics, in order to have a backup now that GA3 will be deleted for ever.
For certain tables, the API returns data from my desired starting date (which is 2021-09-25) but for other combinations, the data starts at another, later, date (2022-04-27).

More than 2 dimensions in Google Analytics Core reporting API

I’m downloading my old Universal Analytics data, since it will be deleted after 1st July. I’m doing this using the package GoogleAnalyticsR in R using the function google_analytics_data. This makes use of the Core Reporting API V4. In the documentation of this API, they say that you can supply a maximum of 7 dimensions and 10 metrics per query.