Hello,
We apologize for the issue you are facing with Rank Math not getting data from Google Analytics. It seems like there might be a problem with the connection or the authorization tokens. Here are some steps you can take to troubleshoot this issue:
-
Test Connections: Go to Rank Math SEO → General Settings → Analytics and click on the Test Connections option. This will help you check if Rank Math is properly connected to your Google account. A green signal indicates a valid connection, while a red signal indicates an issue.
-
Reconnect Your Google Account: If you see a red signal, try reconnecting your Google account. You can do this by clicking the Reconnect button in the Analytics settings.
-
Remove and Re-add Rank Math from Google Account: If the issue persists, navigate to your Google Account permissions and remove the Rank Math app. After that, reconnect it through Rank Math settings as mentioned above.
-
Check for Expired Tokens: Sometimes, the authorization tokens may expire. Reconnecting your Google services should regenerate these tokens.
If you’ve tried all these steps and are still experiencing issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
For initial troubleshooting, you can try to follow this guideline and see if that works for you: https://rankmath.com/kb/delete-old-analytics-data/
If the issue persists, please follow the steps below to create a troubleshooting log so that we can check the issue further for you.
1. At first add the following filter to your website:
add_filter( 'rank_math/analytics/log_response', '__return_true' );
Here is a guide you can follow to add the filter:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
2. After adding the filter, please run the pending Scheduled Action from your WordPress Dashboard > Tools > Scheduled Actions > Pending or you can try visiting the following URL:
https://yourdomain.com/wp-admin/tools.php?page=action-scheduler&status=pending
This is how it should look like:
When some actions have completed running, please check the Analytics log under wp-content/uploads/rank-math
and share that with us. You can upload the log file using this tool.
Let us know how it goes. Looking forward to helping you.
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.