Unable to Install Analytics Code

#129468
  • Resolved S. M. Fahim
    Rank Math pro

    It’s my new site, and I’m trying to install the Google Analytics code, but it’s not working. Here’s a screenshot of the settings page. Seems like because there’s no property is set up. But under the property section, it’s not showing any property. Whereas in Google Analytics, I’ve set up a property. Here it is.

    Looking for a solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sajid Khan
    Rank Math business

    Hello,

    Thank you for getting in touch with us.

    Are you using Google Analytics v4?

    GA4 is relatively a new product and is in Beta, & there could be data discrepancies if we were to integrate them into Rank Math. And the fact that their APIs are not yet fully ready for 3rd party integration, there is not much we can do.

    However, we will begin working on the integration as soon as they improve their V4 API.

    In the meantime, you can enable GA v3 by following this:
    create a property
    and then choose
    ga 3

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    I deleted the property and followed the same process as you showed. But it’s still the same.

    Hello,

    Could you please try

    refreshing Tokens

    by doing the following:
    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 shows up:
    WP Dashboard >> Rank Math >> General Settings >> Analytics tab, and click the Reconnect link
    reconnect analytics

    4. Let the process complete and it might take around 30 minutes.

    5. Now head over to WP 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:
    WP Dashboard > Rank Math > Status & Tools > System Status and click the Copy System Info to Clipboard button
    system info

    We really look forward to helping you.

    Seems like the problem has been solved. And it was not with RankMath. I deleted the account and recreated it. I had to choose “Create Universal Property” and then “Create Only Univeral Property”.

    Thanks for your help!

    Sajid Khan
    Rank Math business

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘Unable to Install Analytics Code’ is closed to new replies.