Archiving Custom Data


I am writing a plugin, which adds two columns to the 'log_visits' table. Now, I want to archive that data but unfortunately there is no documentation on archiving. The existing plugins haven't even used comments to describe why are they doing what... If anyone can provide me a tutorial or point me to the right direction, I will be very thankful.


Thanks for the message. We plan to make it easier to use archiving on custom data. We have no documentation yet, but hopefully in Oct/Nov we will. See the ticket: New Plugin: Fetch, Archive and Display Custom metrics in Piwik · Issue #4139 · matomo-org/matomo · GitHub

Could you tell me more about your use case (maybe post it in the ticket so it can help with scope of the documentation)