statistics section bundles the settings related to the statistics data of your shop.
statistics* - Basic structure
Below is the basic structure of the statistics node.
Parameter overview
statistics.dataRetention - Retention of statistics data
This configuration node defines how long statistics data is retained per time level. In the statistics, figures on visits, orders, and revenue accumulate continuously. These can be stored at the following time levels:
- Hourly values - one data point per hour (for example, to analyze peak times or campaigns),
- Daily values - one data point per day (for example, to compare Black Friday 2025 with 2024),
- Monthly values - one data point per month (for example, to compare revenue growth and customer acquisition).
dataRetention is a singleton and is configured once per shop.
