-
Hello RankMath Team,
I am having an issue with RankMath plugin on wordpress. For the last 2 months, although we have a lot of visitors, Rankmath is not counting them at all. All the metrics are at 0.
I installed Rankmath on more than 15 sites, yet on this site it just is not counting anything. Could you help me figure this out?
-
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Please add the following filter on your website:
add_filter( 'rank_math/analytics/log_response', '__return_true' );After adding the filter, please run the pending Scheduled Action on your WordPress Dashboard > Tools > Scheduled Actions > Pending
https://yourdomain.com/wp-admin/tools?page=action-scheduler&status=pending
When some actions have completed running, please check the Analytics log under
wp-content/uploads/rank-mathand share that with us.Looking forward to hearing back from you.
Hello, thank you for your response. Please find the analytics log pasted below
********************************
POST
https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Floudbodies.com%2F/searchAnalytics/query
{“startDate”:”2022-09-01″,”endDate”:”2022-09-01″,”rowLimit”:10000,”dimensions”:[“query”,”page”]}
{“headers”:{},”body”:”{\n \”error\”: {\n \”code\”: 403,\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”errors\”: [\n {\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”domain\”: \”global\”,\n \”reason\”: \”forbidden\”\n }\n ]\n }\n}\n”,”response”:{“code”:403,”message”:”Forbidden”},”cookies”:[],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}
================================
********************************
POST
https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Floudbodies.com%2F/searchAnalytics/query
{“startDate”:”2022-08-31″,”endDate”:”2022-08-31″,”rowLimit”:10000,”dimensions”:[“query”,”page”]}
{“headers”:{},”body”:”{\n \”error\”: {\n \”code\”: 403,\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”errors\”: [\n {\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”domain\”: \”global\”,\n \”reason\”: \”forbidden\”\n }\n ]\n }\n}\n”,”response”:{“code”:403,”message”:”Forbidden”},”cookies”:[],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}
================================
********************************
POST
https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Floudbodies.com%2F/searchAnalytics/query
{“startDate”:”2022-08-30″,”endDate”:”2022-08-30″,”rowLimit”:10000,”dimensions”:[“query”,”page”]}
{“headers”:{},”body”:”{\n \”error\”: {\n \”code\”: 403,\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”errors\”: [\n {\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”domain\”: \”global\”,\n \”reason\”: \”forbidden\”\n }\n ]\n }\n}\n”,”response”:{“code”:403,”message”:”Forbidden”},”cookies”:[],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}
================================
********************************
POST
https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Floudbodies.com%2F/searchAnalytics/query
{“startDate”:”2022-08-29″,”endDate”:”2022-08-29″,”rowLimit”:10000,”dimensions”:[“query”,”page”]}
{“headers”:{},”body”:”{\n \”error\”: {\n \”code\”: 403,\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”errors\”: [\n {\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”domain\”: \”global\”,\n \”reason\”: \”forbidden\”\n }\n ]\n }\n}\n”,”response”:{“code”:403,”message”:”Forbidden”},”cookies”:[],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}
================================
********************************
POST
https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Floudbodies.com%2F/searchAnalytics/query
{“startDate”:”2022-08-28″,”endDate”:”2022-08-28″,”rowLimit”:10000,”dimensions”:[“query”,”page”]}
{“headers”:{},”body”:”{\n \”error\”: {\n \”code\”: 403,\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”errors\”: [\n {\n \”message\”: \”User does not have sufficient permission for site ‘https:\/\/loudbodies.com\/’. See also: https:\/\/support.google.com\/webmasters\/answer\/2451999.\”,\n \”domain\”: \”global\”,\n \”reason\”: \”forbidden\”\n }\n ]\n }\n}\n”,”response”:{“code”:403,”message”:”Forbidden”},”cookies”:[],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}
================================Hello,
There’s an issue with the auth. In this case, please reconnect the Google account, to regenerate the auth token from Google, by going to WordPress Dashboard > Rank Math > General Settings > Analytics and configure the Search Console and Analytics settings again:
Please ensure you have checked all the required permissions.
That should fetch the data again.
Let us know how that goes. Looking forward to helping you on this one.
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.
The ticket ‘Total Impressions 0’ is closed to new replies.