Hello,
We apologize for the issue you are facing with the analytics data retention in Rank Math. It seems that the behavior you are experiencing, where all data is purged after 30 days instead of maintaining a rolling window, is not functioning as expected.
To address this issue, we recommend checking the following:
- Ensure that your settings for data retention are correctly configured in the Rank Math SEO → General Settings → Analytics section.
- If the settings are correct and the issue persists, it may be beneficial to delete the existing data and manually update it to see if that resolves the problem. You can do this by clicking on the Delete Data button and then the Update Data manually button in the Analytics Database section.
If you continue to experience this issue, please reply to this ticket with any additional details or screenshots that might help us understand the problem better. A human agent from our support team will take over and assist you further.
Thank you for bringing this concern to our attention!
Sources:
Resolving Rank Math Analytics Related Issues » Rank Math
Resolving Rank Math Analytics Related Issues » Rank Math
This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Any update on the above issue?
Hello,
We sincerely apologize for the unexpected delay in our response.
Please note that in the free version of the Rank Math plugin, we store 90 days of your Google data. For the PRO subscription, the storage period is 180 days, and for the Business and Agency subscriptions, it is unlimited.
You can adjust this limit by navigating to WP Dashboard > Rank Math > General Settings > Analytics > Analytics Database: https://rankmath.com/kb/general-settings/#analytics-database
Once data is stored for 90 days, you will be able to access it for an additional 60 days.
We hope this helps. Please do not hesitate to reach out if you have any further questions.
Thank you.
Hello Team,
Thank you for your response. I believe there might have been some misunderstanding regarding my question, so let me clarify.
I understand that in Rank Math Analytics, the data storage duration differs between the Free and Pro versions — 90 days for Free and 180 days for Pro.
My concern is with how the data is being managed after the storage limit. For example, in the Free version:
Days 1 to 90 are stored.
On the 91st day, all previous data is cleared, and the system starts counting again from Day 1.
This approach causes the original analytics reports to be lost entirely, rather than maintaining continuity.
Ideally, instead of resetting everything on the 91st day, the system should remove only the oldest day’s data (Day 1) and continue keeping the most recent 90 days. This way, we always have access to the latest 90 days of data without losing valuable insights.
Hello,
Our plugin doesn’t remove the whole data for the last 90 days. Please note that our plugin stores the 2x data in the database for calculating the difference properly. So if you enter 90 days in the Analytics database option, our plugin will save the data for 180 days:

Also, our plugin doesn’t delete the whole data once 90 days are over. It makes sure that the data for the last 180 days is still in your database from the date of the new fetch.
The data fetch issue you’re facing on your site must be related to something else. You can follow this guide to delete the old data and start a new data fetch to fix it: https://rankmath.com/kb/delete-old-analytics-data/
Please do not hesitate to let us know if you need our assistance with anything else.