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.83k stars 2.64k forks source link

Include a new archiving state DONE_OK_PRESERVED to persist the archive data #20987

Open AltamashShaikh opened 1 year ago

AltamashShaikh commented 1 year ago

Currently there is now way to persist a archive and for data like GA3 the data can be invalidated and the entire data is lost and it would require downloading the data via API again, but the GA3 API will stop working post December 31st 2023

Summary

If we introduce a new state like DONE_OK_PRESERVED here then the Plugin can tag the archive data with this new flag and we can persist the data even when someone invalidates the archive.

This feature will also be useful to allow import ga-data into existing site as we create new site for each GA import and having this feature allows us to keep a permanent data even if some invalidates a data for those dates

Your Environment

michalkleiner commented 1 year ago

My gut feel is that this is not just about adding a new flag and using it from plugins, we need to think this through a bit more. There might be other gotchas, such as when/how/by whom this data can be removed etc.