1

The total number that was returned from the API is actually higher compared to what's being shown in the UI.

Screenshot attached shows Users total count is 5,275. (https://i.stack.imgur.com/3DEyB.jpg)

enter image description here

However, the API shows 6152 users in total. (https://i.stack.imgur.com/bJANs.jpg)

enter image description here

Any ideas on how to get valid users count?

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
Jess
  • 21
  • 2

1 Answers1

1

The report you are looking at on Google analytics is

Dimension

  • Date

Metric

  • users
  • sessions
  • pageviews

You have added datehour in your report the results of the report will not be the same unless the request is the same as the report you are looking at

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449