How to install Google Analytics 4 OR GA4 on your WordPress site? Until the recent update by Google Analytics [2021]. Google Analytics is a very important tool for a ‘Webmaster’ or an SEO expert, as it gives very important visitors data that allows you to track customer’s behavior, user experience, online content, device functionality, and more. After the recent update in Google Analytics, they changed the procedure of WordPress to Google Analytics(GA4) integration. This made the new SEO master’s/new blogger’s job very difficult as the steps to integrate your newly formed WordPress website and GA have been changed in a drastic way.

We bring to you, step by step method of successfully connecting your Newly form WordPress website with Google Analytics. Using this method you don’t have to install any plugin to integrate Google Analytics with your WordPress website. So let’s begin.

Step 1: Log in to your WordPress website and copy its URL.

Login to your WordPress website using your login id and password. Copy the URL of your domain only without any page or subdirectory link.

Step 2: Log in to your Google Analytics and Go to the Admin section in the bottom left.


As shown in the screenshot above, click on the admin tab after logging in to your Google Analytics account.

Note: If you have just registered on Google Analytics and starting from scratch, skip directly to Step No 4. The screen on step no 4 will appear directly, once you register to Google analytics.

Step 3: Click on “Create account” to the Top left.(as shown below)


After clicking in the admin section, you will see this type of screen, just click on create account to create an account of your new website on Google Analytics. It will take you to the screen as shown below in step 4.

Step 4: Fill in the Account name or your website name on the screen and press the “Next” button


You can give any account name or simply write down your website name in the column marked red. Check on the first option of “Google products & Services” if you want, as shown on the screenshot.

Click on the “Next” button after that

Step 5: Fill in the Property details and press “Next” button


After the “Account name” fill in the property details wherein you mention, 1) Property name: Your website name 2) Reporting time zone: Time zone of your country. 3) Currency of that country.

Then click on the “Next” button.

Step 6: Fill in the Business Information & Press “Create” Button


You will be prompted to fill in the “Details of your business”. Here you have to select from the 1) category your business falls under (finance, games, health etc.)  2) Size of the business 3) How you intend to use Google Analytics. Fill in these details and click on the “Create” button.

Step 7: Accept Google Terms of Service & Google Measurement Controller Data Protection terms



After pressing the “Create” button a pop up screen will appear asking you to accept 1)Google Terms of Service & 2) Google Measurement Controller Data Protection terms. Go through these two notes and press the “I Accept” button if you agree.

Step 8: Click on the “Web” option in this case.

Set up a data stream to start collecting data

As we have to set up a data stream to start collecting data, click on “Web” as we want to establish connection between Google Analytics(GA) and WordPress website in this case. You can choose an Android app or iOS app if integrating Google Analytics with App.

*  This is the interface where you can observe the changes in the set up of old Google Analytics to new one.

Step 9: Press the “Create stream” button once done filling the website name.


Enter website details such as 1) Website URL (without https://)  2) Stream name or with simply website name. Once done, click “Create stream” button on the screen.

Step 10: Under Tag Instruction>Global site tag you’ll find the code.


This is the place where you can find the code to be pasted inside your “website header”. Under “Tag Instructions” visit Global site tag, click on the red box above and you’ll find the Google Analytics code which can be pasted inside the header of the website.

Step 11: Under Tag Instruction>Global site tag you’ll find the code.



Copy this code and paste it in the header section of your website as shown below. If you are using any Google Analytics Integration plugin (with your WordPress site) you can find the “Measurement ID” in the top-right of the same page.

Step 12: Go to your WordPress website, under Appearance<Theme Editor locate “Theme Header”


Paste the code before </head>. Remember you have to insert code in separate lines. If there is no space or if some other code exists before </head>, press enter and make space and then paste the code copied from the previous step.

Now, check “Google Analytics” real-time data, by opening the website from another computer or system or mobile phone. If everything mentioned above has been followed correctly, then the data will be reflected in the Google Analytics Real-Time section.

How to replace the new Google Analytics 4 or GA4 interface with the old one?

The new Google Analytics has a new User interface and it is possible that you and your clients are either not familiar or use to the new Interface and so you want the older user interface.

Wouldn’t that be great to have Google analytics 4 (GA4) installed and still have an older blue user interface (UX). So lets check how can you have an older user interface instead of a newer one.

Following are the steps involved to have an older Google interface instead of a new one.

Once you are done with installing the New Google Analytics 4 or GA4 following the above steps. Go and click Admin in the bottom left corner.

ga4-old-interface-1-old user interface-using ga4

Create a Property by clicking the same button, shown below.


Enter property details again, such as Property name and click show advance option as shown below

ga4-old-interface-3-enter-property-name-google analytics-4

After clicking the “Show advanced options” check and activate the “Create a Universal Analytics Property” switch as shown below.



ga4-old-interface-step-4-activate-switch-Create a Universal Analytics property-

After clicking the “Create a Universal Analytics property” a drop-down will appear, add the correct website name (again) check the Create a “Universal Analytics property only” as shown below, then click next.

ga4-old-interface-5-create a Create a Universal Analytics property only

After checking ” Create a Universal Analytics property only” and clicking next you will be redirected to the page where you will find the Google tracking code.(refer to the screenshot below). As before you have to paste this tracking code in the header section of the website.

ga4-old-interface-enter new-tracking-code

That is it, now just press the Home button which will appear on the top left of the page and you will successfully access the old Google Analytics interface with new Google Analytics 4 features.