Fetching data doesn’t work!

#580086
  • Resolved SA AR
    Rank Math free

    Hi,
    First of all, recently, everything was working well and I didn’t change anything for at least two months. The only changes that I know were the update of WordPress and Rank Math.

    In the last few days, I noticed that Rank Math Analytics shows zero search traffic. What I did after that: first I checked my Google Analytics and GSC to see if they get data from my site or not, everything was good, then I did exactly according to below guide to “Refresh Tokens”.

    “What to Do When Rank Math Analytics Shows Zero Search Traffic“

    The weird thing happens here: when in Scheduled Actions (in pending section) I click on “RUN” for “data_fetch”, some actions start (it seems normal and like before) but just for a short period of time! When after some seconds I reload the page there is nothing there (it seems that fetching data doesn’t work) and Rank Math Analytics still shows zero search traffic.

    I had done this fetching data so many times before and I remember every time I ran fetching data, some actions started and took near 30 minutes to end and after that I had new data on Rank Math Analytics.

    I added “System Info” to Sensitive Data.

    Thanks a lot for your time and help.
    Sincerely,

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

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    This action should be created upon the installation of the plugin and it will only be removed if it’s manually deleted or if it fails for some reason when it’s scheduled to be run.

    You can verify that by checking the failed actions section and seeing if you find that action in that list.

    Please note that the “Search Traffic” is only available for the Rank Math PRO plugin, specifically for advanced Google Analytics integration.

    To help us debug this issue, please add the following filter on the website with this issue:

    add_filter( 'rank_math/analytics/log_response', '__return_true' );

    You can add the filter using one of the following options: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Then perform the actions here to import fresh data: https://rankmath.com/kb/delete-old-analytics-data/

    When some actions have completed running, please check the Analytics log under wp-content/uploads/rank-math and share that with us.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    SA AR
    Rank Math free

    Hi,

    First of all, I checked the failed actions (a few minutes after clicking on RUN for data_fetch), nothing new was there, and about the “Search Traffic” (that I mentioned earlier) I mean “Search Impressions”, “Total Keywords”, “Avg. CTR” and “Search Clicks”, Now, all of these data on Analytics Dashboard show ZERO (and as I know they are available for the Rank Math Free plugin, because before this problem I had them every time after fetching data).

    Then, I did what you told me and I added Analytics log to Sensitive Data section.

    Just some other things that might be helpful:
    1. I believe that it’s been a while that I’m not getting this notice and I don’t why:
    “Rank Math is importing latest data from connected Google Services,”
    2. As I mentioned before, every time I click on RUN for data_fetch I get this notice “Successfully executed action: …” and this Hook “rank_math/analytics/workflow” appears in the Pending list, but after some seconds when I refresh the page, nothing is there in Pending list except data_fetch!

    Thanks a lot for your time and help.
    Sincerely,

    SA AR
    Rank Math free

    Hi,

    Still nothing?

    Thank you.

    Hello,

    We deeply apologize for the delay in response. Can you please share a screenshot of the data from Google Search Console and Google Analytics for the last 30 days? So that we can compare it with the data coming through in the Analytics module.

    Also, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section so that we can check the issue further for you.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    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/

    Looking forward to helping you.

    Thank you.

    SA AR
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    We’ve run the scheduled action manually on your website and now on your Analytics Dashboard, data is started appearing.

    It will take some more time to fetch all the data from Google Search Console.

    Please check from your end and let us know if you need any other assistance.

    Thank you.

    SA AR
    Rank Math free

    Hi,

    Thank you so much for all the time and effort that you put into, but the problem is still there.

    First of all, I checked and my Analytics Dashboard was like your image, I waited some more time as you mentioned for the fetch to complete, but nothing happened (data on Analytics Dashboard are still like your image, no more update).

    Then, I checked Scheduled Actions (in pending section), nothing was there except data_fetch, so again I ran data_fetch, everything was still like before (some actions started and after some seconds nothing was there).

    Again, thanks a lot for your time and help.
    Sincerely,

    Hello,

    It seems that the data is unavailable in the API for your website.

    Can you please add the following email addresses to your Google Search Console so we can check the data there and the API to compare: j******@r*********** and m*******@r***********

    You can use the following article to learn how this can be done: https://rankmath.com/kb/add-user-to-google-search-console/

    Looking forward to hearing back from you.

    SA AR
    Rank Math free

    Hi,

    I added both of those email addresses to my GSC (as a Full user).

    Again, Thanks a lot for your time and help.
    Sincerely,

    Hello,

    The property that has data is a domain property while the one connected to the account is a URL prefix property hence the missing data in our Analytics module.

    Since we only import data from the URL prefix properties and the one that has data is a domain property you won’t see the data from it.

    Hope this helps clarify the situation.

    Don’t hesitate to get in touch if you have any other questions.

    SA AR
    Rank Math free

    Hi,

    That’s weird, the property was like this (a domain property) from the beginning (when I created my website and started using Rank Math) and I remember I hadn’t this problem with Analytics module till recently (I believe the recent updates of Rank Math)!

    The only problem (that I mentioned in a previous ticket two month ago) was the difference between Index Status Tab info and my GSC one. At that time the property that was connected to the account was a domain property and when I talked about it here, It was recommended to me to change the connected one to a URL prefix property, I did it, and again after that everything was good till now (I had all the data on Analytics module)!

    So, could you please help me to solve this problem? What can I do now?

    Thanks a lot for your time and help.
    Sincerely,

    SA AR
    Rank Math free

    Hi,

    Still I look forward to your help.

    Thanks for considering my request.
    Sincerely,

    SA AR
    Rank Math free

    Hi,

    Still no answer?

    Thank you.

    SA AR
    Rank Math free

    Hi,

    I checked again in my GSC and as I see, I have both of domain property and URL prefix property!
    And when I select anyone of them, I have data in each one! So I don’t know what’s the problem here?

    Could you please help me to solve this issue?
    I don’t understand why I’m not getting any further help and support? Is something wrong?

    Thanks for considering my request.
    Sincerely,

    Hello,

    We apologize for the delay in response.

    Our plugin usually works best with the URL Prefix property and it has been like this ever since.

    We have checked your website sitemap and we can confirm that you are now using the URL Prefix property.

    We have also gone and debugged the Analytics further and we can’t see any issues with it. Here’s a sample response from the Google API:

    Rank Math support

    Rank Math support

    After another 7 days, another set of data should be imported to your website.

    Looking forward to helping you.

Viewing 15 replies - 1 through 15 (of 21 total)

The ticket ‘Fetching data doesn’t work!’ is closed to new replies.