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

VisitsSummary.getUniqueVisitors API method doesn't return data for ranges #4978

Closed
anonymous-matomo-user opened this issue Apr 10, 2014 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@anonymous-matomo-user
Copy link

Hello,

Trying to get the unique visiotrs for a given day works fine using: http://demo.piwik.org/?module=API&method=VisitsSummary.getUniqueVisitors&idSite=7&period=day&date=2014-04-02&format=JSON&token_auth=anonymous

However, trying to get it for a range always returns 0:

http://demo.piwik.org/?module=API&method=VisitsSummary.getUniqueVisitors&idSite=7&period=range&date=2014-04-02,2014-04-04&format=JSON&token_auth=anonymous

I've also noticed http://demo.piwik.org/?module=API&method=VisitsSummary.get&idSite=7&period=day&date=today&format=JSON&token_auth=anonymous returns unique visitors (nb_uniq_visitors) when periord=day/week/month/year but for ranges like http://demo.piwik.org/?module=API&method=VisitsSummary.get&idSite=7&period=range&date=2014-01-01,2014-01-10&format=JSON&token_auth=anonymous it removes the "nb_uniq_visitors" key.
Keywords: getUniqueVisitors

@mattab
Copy link
Member

mattab commented Apr 16, 2014

see http://piwik.org/faq/how-to/faq_113/

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants