Use Rank Math to Install Google Analytics on your WordPress website

Use Rank Math to Install Google Analytics on your WordPress website

Many WordPress website owners want to know how to install Google Analytics on WordPress. With the Rank Math plugin installed, you can easily track your WordPress site’s keywords and see what pages perform best for you!

This post will teach you how to use Rank Math to install your Google Analytics tracking code; this method is suitable for site owners of all skill levels and has the added advantage of supporting your site’s search engine optimisation and being totally free.

Google Analytics is the go-to tool for anyone who wants additional information regarding where their visitors are coming from, what pages they visit and which keywords they use.

Step One: Install Rank Math on WordPress

The first step for setting up Rank Math with Google Analytics is to install the plugin. After logging into your WordPress dashboard and going to Plugins, click ‘Add New’ and in the search bar type: Rank Math. Once you’ve found it, hit install and then activate.

Step Two: The Rank Math Setup Wizard

The setup wizard will take you step-by-step through the process of connecting to your Google Analytics account. If you’re offered a choice of setup options; Easy or Advanced. Choose Easy.

You’ll be asked for some site details to help with your Search Engine Optimisation and ensure your site is represented correctly when it appears in Google.

Next, you will be asked to select which Google Analytics property you would like to track your WordPress website with.

This post will teach you how to use Rank Math with google analytics so that WordPress website owners of all skill levels can get the most out of their rank math plugin.
Connect To Your Analytics

Make sure the ‘Install Analytics code’ toggle is enabled (blue). Once complete, click on save.

Use Rank Math to Install Google Analytics on your WordPress website 1
Don’t forget to enable this toggle!

This is also the page where you can connect to your Google Search Console account to provide Rank Math with data on what keywords you rank for and what pages are performing well.

Once you’ve completed the setup wizard, that’s it Rank Math has installed your analytics tracking code.

Step Three: Let Google Index Your Website.

After you have successfully installed the analytics tracking code, you’ll want to let Google know that it is there and where to find it by using a sitemap file. The great thing is, Rank Math will create your sitemap for you!

In your dashboard, go to Rank Math -> Sitemap Settings and copy the URL of your sitemap from the top of the page. In Google Search Console, go to Sitemaps and paste the URL into the Add a new sitemap field.

Use Rank Math to Install Google Analytics on your WordPress website 2
How to find your sitemap URL

Google will then index your website and start sending the necessary data to Analytics which you can find under Acquisition -> Referring sites.

Step Four: Watch Google Analytics Come Alive!

Bonus! You’ve also now got a great tool to help you with all your SEO needs!

Learn more about how Rank Math can improve your site’s search engine optimisation.

📌 Pin This For Later

It’s a lot easier to install Google Analytics on your WordPress blog than you might think.
AD: This post was proofread by Grammarly. Try it free.
AD: This post was proofread by Grammarly. Try it free.


It’s my personal mission to help people get started blogging and creating their own website, no matter how inexperienced they are with websites, blogs or technology. If you’re looking to start an online business, build an email list, create a blog or just get a better grip on social media, I’m here to help you!

Need Help With Your SEO? Website? Email Marketing? Social Media?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2022 Blog Starter Challenge

Start your blogging journey today with my free blog starter challenge.
Receive an email-a-day for 5 days and by the 5th day, you’ll have your blog up and running, ready to go!

Challenge graduates go on to receive regular updates and tips for getting the most out of their blog.
Unsubscribe at anytime using the link in the emails.

Great! Check Your Inbox
For Your First Challenge Email

For more help and advice on
Blogging, WordPress, and Email Marketing…

share with A Friend

Share on facebook
Share on twitter
Share on whatsapp
Share on email


your new Blog!

How would you like to start? 

Do you want to go the DIY route with a step-by-step guide?
Or would you rather someone else get the ball rolling for you?