Matomo Cloud: By default, historical data processing is limited to the last 30 days up to the date the report was created. If you need to backfill older data, contact Matomo Support to process this for you. The configuration below does not apply to Matomo Cloud.

Matomo On-Premise: By default, when you create a new custom report, Matomo processes historical data for the last six months (available since Matomo 4). On-premise users can customise these settings by modifying the config.ini.php file.

For more details please see our guide here: How do I see historical data for a new Custom Report?

To collect data beyond the period configured in your config.ini.php file, you can:

  1. Invalidate the historical data, and

  2. Then re-process the reports for all your websites. If you have setup auto-archiving then the command to re-process the reports will automatically run within the next hour or so. Alternatively you can manually re-process the reports. Depending on the amount of data in your Matomo, this command may take a while to run and you may want to adjust the amount of days (and seconds) you want to reprocess.

Previous FAQ: Can I pivot Custom Reports?