Web Design

How to Add Google Analytics 4 to WordPress

Views: 191
Posted on: Jun 14, 2022
Share this :
How to Add Google Analytics 4 to WordPress

Google Analytics 4, also called GA4 was released in October 14th, 2020. It was previously known as App > Web property within your Google Analytics account. Analytical data and traffic umbers form your website can give you an insight into all sorts of statistics that can be used for marketing, interaction, SEO, social media and much more. The Google Analytics 4 update bring great features to take advantage of including:

  • Smarter Insights
  • Deeper Integration with Google Ads or AdWord
  • Customer-Centric Data Measurement
  • More Data Controls

Note: The rest of the tutorial assumes you already have Google Analytics set up on your WordPress website.

Step 1: Log in to Your Google Analytics Account

Log in to Google Analytics homepage using the Google account you used to set it up. This will give you access to the Admin dashboard.

SponsoredFeatured listings
View all
Step 2: Create a New Google Analytics 4 Property

From your Analytics dashboard, you’re to create a new GA4 property. You can either click on Admin > Create Account, or select an existing account that you want to set up the new property on.

With the assumption that you already have a Google Analytics account, we are going to simply click on “Create Property” on an existing account.

Step 3: Add All Property Details

Clicking on the “Create Property” button will take you to the Property Details page. Here, you can add all the relevant property information needed.

Go ahead and name your property, report a time zone, and add any other relevant details that are needed. Fill the information requested here as appropriately as deems possible.

When you are finished, click on the “Next” button to move forward. This takes you down to a few more details you may want to add. This includes business size and a couple of other questions. You can fill this out how you see fit.

When you are done, click on the “Create” button at the bottom of the page.

Step 4: Select “Web”

At he “Data Strems” page, you will see that there are three options different options available.

Step 5: Set Up Web Stream

When you click on the Web option, a screen pops out to allow you to set up your web stream. Go ahead and fill out all the relevant information to create the stream. This includes adding your URL, giving your stream a name, and adding or subtracting any enhanced measurements you want.

Click on the “Create Stream” button when you’re done.

Step 6: Connect Your Existing Analytics Property to GA4

Go back to your existing Universal Analytics (UA) property by clicking on the Admin button and then select UA Property from the drop-down.

Now, click on the “Tracking Info” option, and in the drop-down menu select “Tracking” code.

On the screen that pops up, copy your tracking code so that you can have it.

Finally, switch back to your new GA4 Property by selecting the new GA4 Property from the drop-down. Then click on the stream you created above, and look for “Connected Site Tags”. Click on it.

Enter or paste the tracking ID that you copied above, give it a nickname, and then click on “Connect.”

Step 7: Install Tracking Code on Your WordPress Website

You need to install the tracking code on your WordPress site and then you will start receiving all the data and analytics that come with Google Analytics 4.

From your web stream, click on the “Add new on-page Tag” option and Select Global Tag (gtag.js).

Copy the tracking code. Now, to your site to add the code.

Note: You can enter the code into the “head” section of your website. Again, you can go straight into the Theme Options and add the code, or you can do it by using a plugin that gives you easy access to add code to the head.

Log in to your WordPress admin dashboard and paste the code into the head of your site as described in the note above. Click on the “Save” button to save your code.

You can do this by using a plugin like Insert Header and Footer or MonsterInsights. This lets you place code directly into those sections of WordPress. Or you can manually place the code into your site files.

Credit: GreenGeeks

Is this blog helpful?

0

0

Popular Posts

no_img

No Popular Posts Found

We're sorry what you were looking for. please try another way

Popular Categories

Informational ArticlesWeb DesignBusinessBusiness IdeasFaith

Tags

Related Articles

What are top-level domains (TLD) and country code top-level domains (ccTLD)?
What are top-level domains (TLD) and country code top-level domains (ccTLD)?

Each domain name has different pieces that are part of the domain name system hierarchy. The different pieces are identified by where they are in relation to the dot ( . ), whether it is to the right or to the left. A Top Level Domain (TLD) is the part of the domain name located to the right of the dot (" . "). The most common TLDs are .com, .net, .org, and .gov. Some others are .info, .biz, .mil, .me, and .africa domains. These common TLDs all have certain guidelines, but are always

Read Blog
How to link WhatsApp Chat to my Website
How to link WhatsApp Chat to my Website

How do you link your WhatsApp to your website, business or personal number to WhatsApp's click to chat feature? The click to chat feature allows you to begin a chat with someone without having their phone number saved in your phone's address book. You can create a link that will allow you to start a chat with any person as long as you know their phone number. Additionally, the person needs to have an active

Read Blog
MEA Business Awards
MEA Business Awards

Hello family. We once again have great news to share with you. We have been, again, picked by MEA Business Awards as the Best Web Development & Hosting Company in Kenya The award recognizes the best from several competitors surveyed over a one-year period (2021). The survey was conducted by MEA Markets, a British quarterly publication dedicated to researching and publicizing the major moves and events as they hap

Read Blog