Rankmath no longer getting data from Google analytics

#893480
  • Resolved Mindy Wood
    Rank Math pro
    Content AI Starter

    I have tried reconnecting a number of times. There are two errors when i inspect the page with developer tools on chrome:

    stats.js?ver=1.0.229:1 List with items prop is deprecated is deprecated and will be removed in version 9.0.0. Note: See ExperimentalList / ExperimentalListItem for the new API that will replace this component in future versions.

    Unchecked runtime.lastError: The message port closed before a response was received.

    what should i do next?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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:

    1. 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.
      Test connections

    2. 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.
      Reconnect Rank Math with Google account

    3. 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.
      Remove Rank Math app from Google account

    4. 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.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘Rankmath no longer getting data from Google analytics’ is closed to new replies.