Difference in data between Google Analytics 4 API and UI

Viewed 28

I'm automating the data collection from a Google Analytics 4 property. However, whenever i'm trying to match the API data with the property data I get slight differences.

For example, when I get these fields (see image below) for february and march. The total sessions from the API data is: 188.213, while the Google Analytics UI shows 189.042.

When I make the API query, really simple, by just pulling the sessions between february and march then I get the 189.042 totally perfect. Why do I get a difference when I add some dimensions?

I hope somebody can explain. Business users need to trust the data, so it must match in my opinion. Thanks for answering in advance!

enter image description here

0 Answers
Related