google analytics connection fail with the error because of lack of permission

#710948
  • Resolved Mohammad Ahmadi
    Rank Math free

    Hello,
    I cannot connect to my analytics account, and I got the error message because lack of permissions this service won’t work.
    I’ve tried reconnecting my google account but that didn’t work.
    https://imgur.com/a/YyvFw4i
    Also, I’ve attached analytics-debug.log.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the inconvenience you’re experiencing with connecting your Google Analytics account. It seems that the issue might be due to a lack of permissions.

    To resolve this, please follow these steps:

    1. Navigate to your Google Account permissions from here.
    2. From the list of apps connected with your Google Account, delete Rank Math SEO.
      Remove Access to Rank Math SEO
    3. After removing the app, navigate to your WordPress Dashboard → Rank Math SEO → Status & Tools → Database Tools and click the Re-create Missing Database Tables option, then click the Re-create Tables button.
      Re-create Missing Database Tables

    After completing these steps, please try reconnecting your Google account with Rank Math by heading over to Rank Math SEO → General Settings → Analytics and clicking on the Reconnect button at the top.

    If the issue persists, please share the analytics-debug.log file with us so that we can further investigate the issue.

    Thank you for bringing this to our attention.

    Sources:
    How to Install Google Analytics With Rank Math SEO » Rank Math
    Resolving Rank Math Analytics Related Issues » Rank Math
    What to Do When Rank Math Analytics Shows Zero Search Traffic » Rank Math

    Hello,

    Thank you for your query, and we are so sorry about the trouble this must have caused.

    Please follow these steps:

    If you do not see any data inside your Analytics module, this guide might help you.

    A. Pre-check List

    1. You should not be using any other Google Analytics plugin.

    2. Update to the latest versions of Rank Math Free & PRO

    3. Ensure that you are logged in to your account:

    rank math member area

    4. Disconnect and reconnect your account from inside WordPress:

    reconnect rank math account

    B. Refresh Tokens

    1. Please delete RankMath’s app from here:

    https://myaccount.google.com/permissions

    remove rank math app

    2. Re-create tables by clicking WP Dashboard > Rank Math > Status & Tools > Database Tools and click the Re-create database Table button.

    re-create analytics tables

    3. Reconnect the account inside Rank Math by clicking here and ensure that you approve all the permission notices that show up:

    WordPress Dashboard > Rank Math > General Settings > Analytics tab, and click the Reconnect link
    reconnect analytics

    Allow all the permissions on the next screen.
    tick all checkboxes

    4. Let the process complete, which might take around 30 minutes.

    5. Now head over to WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Rebuild Index for Analytics button.

    Rebuild Index for Analytics

    6. Please check if the data shows up here:

    /wp-admin/admin.php?page=rank-math-analytics#/

    analytics data

    If that does not help, please paste the data from here:

    WordPress Dashboard > Rank Math > Status & Tools > System Status and click the Copy System Info to Clipboard button

    system info

    We hope that helps, and please don’t hesitate to get in touch if you have any other questions.

    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 ‘google analytics connection fail with the error because of lack of permission’ is closed to new replies.