Issue with the API #829
bastienlaval
started this conversation in
Anything Else
Replies: 2 comments 4 replies
-
Thanks for letting me know about this! I'll be taking a look at what's wrong. I doubt you're doing anything wrong, the backend is probably not querying the database correctly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I’ve got an issue with the API and can’t manage to understand why…
On one side, I make a request to the ‘aggregate’ endpoint, and get exactly the same figures than when I log in the plausible dashboard.
Here’s my endpoint :
https://plausible.io/api/v1/stats/aggregate?site_id=my-site.com&period=12mo&metrics=visitors,pageviews&filters=event:page==/my-page
And on the other site, I make a request to the ‘breakdown’ endpoint.
I get a result, but the total I get in inferior to the number I get in the previous request. And it’s also different from the number I get inside the plausible dashboard…
Here’s my endpoint (for the country property for instance, but I got the same issue with device property) :
https://plausible.io/api/v1/stats/breakdown?site_id=my-site.com&period=12mo&property=visit:country&metrics=visitors&filters=event:page==/my-page
Does anyone can help me trying to understand what I’m doing wrong?
Thanks a lot in advance!
Bastien
Beta Was this translation helpful? Give feedback.
All reactions