How to Install GA4 on Your WordPress Website

Google Analytics 4 Installation on WordPress

Date published: 19 June 2023

Ensure that your WordPress website is not password-protected or in maintenance mode before proceeding.

This article assumes that you have created a GA4 property already. If you haven't yet done so, please read my article, How Do I Upgrade to Google Analytics 4?

Firstly, find your Google Analytics measurement ID. This can be found from the Web stream details page in your Google Analytics account.

Google Analytics web stream details

Log into your WordPress admin.

Go to Plugins > Add New, then search for MonsterInsights.

Click Install Now, and then activate the plugin.

Install MonsterInsights

Click the Launch the Wizard! button.

Getting Started With MonsterInsights

Select the type of website, and click Save and Continue.

Welcome to MonsterInsights!

Click Connect MonsterInsights.

Connect MonsterInsights to your website

Select the Google account that owns your GA4 property.

Continue to MonsterInsights

Click Allow.

Trust MonsterInsights

Select your GA4 property from the dropdown and click Complete Connection.

MonsterInsights pick a profile

Would You Like To Start A Project With Me?

Click the contact button to get in touch with your requirements