Aggregation and Data Retention

Available on:
Free
Premium

What aggregation does

Aggregation compresses old analytics data into summaries to keep your database lean. After the selected age, WP Statistics keeps only:

All other detailed rows are deleted.

What you can still see after aggregation

What is removed for aggregated periods

Recent data that has not reached the threshold is not affected.

When it runs

Where to change it

WP Admin → Statistics → Settings → Advanced Options → Automatically Aggregate Old Data

Choose a retention period or select Custom and enter X days, then save your settings.

Aggregation vs deletion

Recommended periods

FAQs

Is this reversible?
No. Once detailed rows are deleted, the plugin cannot restore them.

Do all-time totals still work?
Yes. All-time Visitors and Views remain available because summaries are kept.

Will per-page totals remain?
Yes. Per-page Visitors and Views are kept. Other per-page dimensions are removed for aggregated periods.

What happens right after I change the value?
The new value is used at the next midnight cleanup.

What is the performance impact?
Expect smaller tables and faster queries, especially for wide date ranges.

Let’s get started
Take your business to next level

Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.