Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent reporting API result: "nb_users" reports vastly different results across the same date range when using different ?period=values #14894

Closed
digihiveinc opened this issue Sep 16, 2019 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@digihiveinc
Copy link

Hello

When using reporting API the nb_users value is inconsistent for the time range, when the ?period=values is different

Example
/index.php?date=2019-08-01,2019-08-31&period=month&idSite=*&filter_limit=-1&format=JSON&format_metrics=1&expanded=1&module=API&method=API.get

would give a different result in nb_value VS

/index.php?date=2019-08-01,2019-08-31&period=day&idSite=*&filter_limit=-1&format=JSON&format_metrics=1&expanded=1&module=API&method=API.get

In my case the results were
total of 10052 nb_users when calculated by month VS 20285 by day

Same discrepancy happening across the different date range picks.

@tsteur
Copy link
Member

tsteur commented Sep 16, 2019

Hi there,

I suggest you invalidate your reports for the given date ranges see https://matomo.org/faq/how-to/faq_155/ and then wait for the data to be archived again. If the issue still happens, feel free to ping us again with more details and examples. We may also need access to your server to investigate further.

Cheers

@tsteur tsteur closed this as completed Sep 16, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Sep 16, 2019
@mattab mattab added this to the 3.12.0 milestone Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants