Hello, I’m sorry to hear about the issues you’re facing with the Rank Math SEO plugin and the Google Analytics module. It seems like there are some PHP warnings related to the Google Analytics module in the Rank Math SEO plugin.
To address this issue, we recommend creating an Analytics debug log file by adding a filter to your WordPress theme’s functions.php
file or rank-math.php
file. You can refer to this tutorial on how to add a filter to your website: WordPress Hooks, Actions & Filters.
Once you’ve added the filter, you can run the pending Scheduled Action under WordPress Dashboard → Tools → Scheduled Actions → Pending. The Rank Math’s analytics hook goes by the name rank_math/analytics/data_fetch
.
After running a few actions, you can open a support ticket here and share the Analytics debug log file with us. The Analytics debug log can be found under /wp-content/uploads/rank-math in your website directory.
If you have any further questions or need assistance with this process, please feel free to ask. Thank you for bringing this concern to our attention.
Sources:
The #1 WordPress SEO Plugin in 2023 – Rank Math
Resolving Rank Math Analytics Related Issues » Rank Math
How to Monitor Google Algorithm Updates With Rank Math » Rank Math
I am not a programmer, are there other ways to rectify this issue?
Hello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.
To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Here is a video you can follow as well:
https://www.youtube.com/watch?v=FcIWRhcUP2c
Only the site admin would know and your users won’t be affected by this troubleshooting.
If the issue persists, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
Please do take a complete backup of your website before sharing the information with us.
We really look forward to helping 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.