Measurement analytics

#431110
  • Resolved Kaiser Obaldia
    Rank Math free

    Good evening, i have trouble with the measurement id of google analytics, when I see the tag in the view code option of the browser, the id is different of the information that the analytics admin panel give me.
    I used this post for try to resolve the problem: Source But not working for me.

    Please a little help

Viewing 5 replies - 1 through 5 (of 5 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support.

    Measurement ID is a factor of GA4 whereas the screenshot that you’ve shared from the source of the website is of a UA (Universal Analytics) property.

    Could you confirm if you’ve enabled the Install analytics code option in Rank Math > General Settings > Analytics? https://rankmath.com/kb/using-ga4/#install-analytics-code

    If not and if you’ve not added the GA4 tag to the website with any other plugin/theme/service, please enable that option and see if the tag gets added.

    Let us know how that goes.

    Thank you.

    Hi, thanks for your quick response.
    Yes, I was connecting rank math with the universal property. What I did was to disconnect the google service and then reconnect rank math with the GA4 property that I created. But, for some reason the analytic tag was not being inserted into the web page code. So I decided to copy the html code that analytics gives me, and paste it into the head.php directly, and it works fine👍🏻.
    But, I wonder if what I did is good or it is a bad practice, because reading your post (about how to integrate rank math and google analytics), apparently that process is automatic and it is not necessary to do what I did.
    Please tell me if it is right what I did, and if that is going to produce a bad function for rank math and analytics integration.

    Thanks.

    Anas
    Rank Math business

    Hello,

    Adding the code manually won’t affect anything in Rank Math Analytics.

    However, if you wish to install the code with Rank Math, please follow these steps:

    1. Remove access to Rank Math from your Google account:
    https://myaccount.google.com/permissions?gar=1&pli=1
    analytics

    2. Then, head over to Rank Math > General settings > Analytics and reconnect with Google, give all the permissions, configure the settings again, and enable the Install Analytics code option.

    Hope this helps.

    Let us know how it goes.

    Looking forward to helping you.

    Hello,

    Thanks for your answer, defintely help me a lot. I will consider the guide above for connect google analytic directly with rank math.

    Thank you.

    Anas
    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)

You must be logged in to reply to this ticket.