How long will the Activity Log data be stored?
Cloud On-Premise
Activities are stored forever, there are no limits. If you are interested in a feature to setup an automatic purge of activities after a certain time, contact Matomo Support.
The Activity Log premium feature is available by default in Matomo Cloud and can be installed from the Marketplace for Matomo On-Premise.