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

Instead of percent rate, send numerical values through the API #22405

Closed
Chardonneaur opened this issue Jul 17, 2024 · 3 comments
Closed

Instead of percent rate, send numerical values through the API #22405

Chardonneaur opened this issue Jul 17, 2024 · 3 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged

Comments

@Chardonneaur
Copy link

Hi Team,

Currently, if we export a data feed from the API where this a percent rate, for example: 7%, it will be intepreted as a text string from the data visualization software. Ideally, the data output should be 0.07 in order to have a clean datafeed for those platforms:

2024-07-17.11-55-25.mp4
@Chardonneaur Chardonneaur added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. To Triage An issue awaiting triage by a Matomo core team member labels Jul 17, 2024
@randy-innocraft randy-innocraft added triaged and removed To Triage An issue awaiting triage by a Matomo core team member labels Jul 17, 2024
@michalkleiner
Copy link
Contributor

#20701 might be relevant.

@sgiehl
Copy link
Member

sgiehl commented Jul 18, 2024

@Chardonneaur you should be able to achive that already by appending &format_metrics=0 to the url. If the parameter is not provided the default will be to format percent metrics only.

@Chardonneaur
Copy link
Author

@sgiehl ok, thank you, it is fixing the issue, so I guess, now it is just about enriching our internal documentation. I wrote the following ticket: matomo-org/developer-documentation#795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged
Projects
None yet
Development

No branches or pull requests

4 participants