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

Let Live.getVisitorProfile http API return more than 10 visits (new parameter &limitVisits=X) #9046

Closed
foxxx opened this issue Oct 19, 2015 · 4 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@foxxx
Copy link

foxxx commented Oct 19, 2015

index.php?module=API&method=Live.getVisitorProfile&idSite=8&visitorId=XXXXXX&format=xml&token_auth=XXXXXX

if you add &format_limit=50 you still only get the last 10 visits. Unable to return more. We need to be able to get more data from that query.

@tsteur tsteur added the worksforme The issue cannot be reproduced and things work as intended. label Oct 19, 2015
@tsteur tsteur added this to the 2.15.0 milestone Oct 19, 2015
@tsteur tsteur self-assigned this Oct 19, 2015
@tsteur
Copy link
Member

tsteur commented Oct 19, 2015

Hi @foxxx, it should be filter_limit, not format_limit

@tsteur tsteur closed this as completed Oct 19, 2015
@foxxx
Copy link
Author

foxxx commented Oct 19, 2015

index.php?module=API&method=Live.getVisitorProfile&idSite=8&visitorId=XXX&format=xml&token_auth=XX&filter_limit=50

still only 10 results.

76

but only get 10 rows of data.

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Oct 19, 2015
@tsteur tsteur removed this from the 2.15.0 milestone Oct 19, 2015
@tsteur tsteur removed their assignment Oct 19, 2015
@tsteur
Copy link
Member

tsteur commented Oct 19, 2015

Thx! Tried to reproduce and this is indeed a bug. The standard limit feature fails to apply the limit as the visits are returned under the key lastVisits and not in root element

@tsteur tsteur reopened this Oct 19, 2015
@tsteur tsteur removed the worksforme The issue cannot be reproduced and things work as intended. label Oct 19, 2015
@mattab mattab added this to the 2.15.1 milestone Nov 26, 2015
tsteur added a commit that referenced this issue Dec 15, 2015
@tsteur tsteur added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. and removed Bug For errors / faults / flaws / inconsistencies etc. labels Dec 15, 2015
@tsteur tsteur self-assigned this Dec 15, 2015
@mattab mattab changed the title Live.getVisitorProfile can't return more than 10 visits Let Live.getVisitorProfile return more than 10 visits (new parameter &limitVisits=X) Dec 21, 2015
@mattab mattab changed the title Let Live.getVisitorProfile return more than 10 visits (new parameter &limitVisits=X) Let Live.getVisitorProfile http API return more than 10 visits (new parameter &limitVisits=X) Dec 21, 2015
@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. and removed Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Jan 30, 2016
@sherryyuu
Copy link

Hi! I met the same problem and I need Live.getVisitorProfile to return all visits. I'm wondering if there is a solution for this problem now. Thank you for your help and I'm looking forward to your reply!

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.
Projects
None yet
Development

No branches or pull requests

4 participants