matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.71k stars 2.62k forks source link

Tracker API: cdt parameter should not require token_auth when setting a recent datetime #6110

Closed mattab closed 9 years ago

mattab commented 10 years ago

The goal of this ticket is to modify the Tracker API parameter cdt so that it is allowed to send cdt values within the last N seconds without passing the token_auth.

By default a user could send a tracking api request setting a custom datetime in near past without needing to authenticate with token_auth.

Tasks

This overall goal is to make Mobile Apps Tracking easier to use and less need of configuration in the SDK.

quba commented 10 years ago

Maybe it would be enough to set it to "visit_standard_length"?

mattab commented 10 years ago

I think most cases that users are offline and come back online can be a few hours long. it would be a shame to lose usage tracking data for those hours where user was disconnected or poor connection. not sure even if 2 hours is enough, maybe 4 will be better...

mattab commented 9 years ago

doc updated in https://github.com/piwik/developer-documentation/commit/d6f087d9fedea7197413478c7e7e1f11a1af7bc6