Google Analytics API v.4 returning wrong users value on Android and iOS apps

223 Views Asked by At

Using Google Analytics' API I'm getting a report (sessions, users, new/returning users, page views, bounce rate, etc...) on all devices, every value is correct except "users" value on my Android and iOS devices. Google Analytic's returning over 2.5x amount of value that is shown in Google Analytic website, I've also used this link and it's returning the same value as Google Analytics website.

This is only happening to apps analytics, on a desktop and mobile site everything's fine.

I've already checked the sampling level, not sure what else could go wrong.

I'd appreciate the help, thank you in advance.

1

There are 1 best solutions below

0
On BEST ANSWER

There was an issue with Google Analytics's API v.4 that returned the aggregation of users within the provided date range instead of unique users.

I don't know if the problem still exists, but I managed to use ga:7dayUsers or ga:30dayUsers type of metrics to retrieve my unique users.