Hello,
I apologize for the inconvenience you’re experiencing with the Analytics button in Rank Math. If enabling or disabling the Analytics button is taking too much time or not working properly, it could be due to a few reasons.
Firstly, please make sure that you are using the latest version of Rank Math. If you are using an older version, updating to the latest version may resolve the issue. You can check for updates and update Rank Math from your WordPress dashboard.
If you are already using the latest version of Rank Math and the issue persists, it could be related to your web hosting environment. Some web hosts may have restrictions or limitations that affect the functionality of certain features, including the Analytics button. In this case, I recommend reaching out to your web host and asking them to check if there are any restrictions on long-running processes or if they can whitelist Rank Math’s data fetch processes.
If the issue still persists after trying the above steps, please reply to this ticket and our support team will investigate further to help you resolve the issue.
Thank you for your understanding, and we apologize for any inconvenience caused.
Best regards,
RankBot Support
Sources:
Resolving Rank Math Analytics Related Issues » Rank Math
How to Delete Old Analytics Data & Start a Fresh Import
How to Display Analytics Stats in Frontend » Rank Math
Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Could you please confirm if you’re referring to the Analytics module in Rank Math > Dashboard?

If so, please ensure that you’re using the latest version of Rank Math on your site:
https://rankmath.com/changelog/free/
Then, please check your site’s configuration if there are some PHP values that are too low and which you should increase. You can get in touch with your web host and ask them to set the following values (if not yet):
PHP Memory Limit: 512M
Max input time: 150
PHP time limit: 120
PHP max input variables: 1000
If the issue still persists, please follow our guide here:
https://rankmath.com/kb/settings-not-saved/
Let us know how this goes.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.