Now Booking November 2024

Now Booking November 2024

WordPress, Tutorial, Web Design

How to Setup Google Analytics 4 for Your WordPress Website

Share this

By Ashley Hughes

How to Setup Google Analytics 4 for Your WordPress Site
How to Setup Google Analytics 4 for Your WordPress Site

Google Analytics is a powerful tool that gives you detailed data about your visitors. In this post, I’ll show you how to quickly setup Google Analytics 4, and how to connect your new property to your WordPress site. If you use another website platform, the steps will be similar for setting things up, but adding your Google Tag might look a bit different.

What is Google Analytics?

Google Analytics is basically a platform that allows you to collect information about users, behavior, device data, and more. “Google Analytics 4” is the newest version of GA that Google has released. Per Google, Google Analytics is a platform that collects data from your website and apps to create reports that provide insights into your business.At a very general level, Google Analytics helps you do the following:

  1. Monitor traffic (See how much traffic your website is getting, where that traffic is coming from, what devices are used, etc.)
  2. Analyze important metrics (Look at data related to marketing efforts, demographics, conversions, goal-related metrics, etc.)
  3. Understand user behavior (Find out what users are doing on your site, track conversions, bounce rates, etc.)

What’s the Deal with Google Analytics 4? Can I Just Use the Old Version?

Google is switching from to Google Analytics 4 on July 1, 2023, which means the older version (Universal Analytics) will no longer be available. Google Analytics 4, in their own words, is “a more intelligent Analytics experience that delivers the essential customer insights you need to be ready for whatever comes next.”

Bottom line? You need to go set up your Google Analytics 4 property as soon as you can so that when they finally make the switch, you’ll have a decent amount of data already rolling in…. because your data doesn’t really roll over from one version to the next.

Do I Really Need to Setup Google Analytics?

Google Analytics is quite different from Search Console, but it’s still important to have. Google Search Console is something that you need to have if you want to be found on Google, but you can technically get away without an analytics account. For example, if you just need a to have a website for informational purposes and don’t intend on marketing or viewing any sort of traffic data, then it wouldn’t be totally necessary to have. It would still be smart to have though if you pivot later and want to see changes.

For all other businesses and sites who DO need to view data relating to users, traffic, and behavior, you absolutely need a Google Analytics account. Basically, Google Analytics allows you to view data on your users/customers and measure your market efforts. Per Google, the purpose is to “Get insight into every step of your customer’s journey on your website, then use analytics to elevate your impact.”

How to Setup Google Analytics 4

If you’re already a Google Analytics user, you may have received an email from Google recently that mentioned the upcoming switch. It should have prompted you to log in and set up your new property. If you received that email, just follow the link and directions. If not, keep reading.

It’s fairly easy to setup Google Analytics 4. The technical part of it comes into play when you start setting goals, creating events, and getting into all the really detailed tracking. We’re keeping it basic for this one. You’ll just need a Google account and a website, obviously. Follow these easy steps to get started:

1. Create Your Google Analytics Account (If you already have one, skip to the next step)

  1. Go to the Google Marketing Platform and click the get started button
  2. Sign in with a Google account
  3. Click “Start Measuring”
  4. Account Setup – Add an account name (this is typically your business or website name)
  5. Property Setup – Add a property (again, probably want to use your business or website name… unless you have multiple sites that you want to monitor under the same account). No need to toggle on the Universal Analytics option since this will phase out in 2023 anyway.
  6. About Your Business – Add business details
  7. Click “Create” and accept the terms
  8. You’ll now see your main Google Analytics dashboard. Take the tour (blue box) and learn your way around the platform if it’s all new to you.
How to Setup Google Analytics 4_Dashboard

2. Add a Property

  1. Select the gear icon in the lower lefthand column.
  2. Ensure you are on the correct property if you have more than one.
  3. Select “Data Streams.”
  4. Click “Web”
  5. Insert your URL and Site Name into the form fields.
  6. Click “Create Stream.”

3. Add Your Google Tag to Your Website

Once you’ve setup your Google Analytics 4 property, you’ll need to make sure your website is actually communicating with Google Analytics so it can pull data. This can be done in a variety of different ways, but here are the easiest.

Finding your Tag or Tag Script

Click on your new data stream and scroll to the bottom of that popup and find “View Tag Instructions”, then select the “Install Manually” tab. That entire section of code is what you’ll need to install it manually. If you need to connect it via your Measurement ID then just go back to the “Stream Details” to find it. Typically you’ll either add it manually or just connect a plugin/service through your Google account. Options are covered below.

How to Setup Google Analytics 4_Tag

Option 1: Inserting the Google Tag Script Manually Using Elementor

  1. Side note: Install it this way only if you use Elementor…. don’t install Elementor just to perform this task.
  2. Hover over Elementor on your WordPress dashboard sidebar
  3. Click on “Custom Code”
  4. Click “Add new”
  5. Name it “Google Tag”
  6. Select <head> as the location
  7. Copy the entire Google Tag script from your Google Analytics Account and paste it into the custom code area.
  8. Click Publish

Option 2: Inserting the Google Tag Script Manually Using a Code Plugin

  1. If you don’t already have a code or script manager plugin, then there are a few options. My favorites to use are
  2. Install your plugin of choice.
  3. Create new code snippet.
  4. Name it “Google Tag”
  5. Copy the entire Google Tag script from your Google Analytics Account and paste it into the custom code area.
  6. Click save, publish, or run everywhere (whatever option saves it).

Option 3: Connect Google Analytics Automatically Using Google Site Kit Plugin (Free) OR Monster Insights Plugin (Paid)

  1. These plugins add a bit more code/weight than totally necessary, but they’re easy and show you data on your dashboard.
  2. Install the Google Site Kit Plugin OR MonserInsights
  3. Sign in using your Google Account for Site Kit OR go through the setup wizard with Monster insights.
  4. Connect your Google Analytics 4 property

Check Your Data

Once your site is connected to Google Analytics, you’ll start seeing data almost immediately. You typically want to give it some time (at least a week or so) before you start seeing any sort of consistent data, patterns, etc. Over time, with more data pouring in, you’ll begin to really see patterns and trends among your users and content. If you’re interested in learning more about Google Analytics and learning how to really use it, check out the free Google Analytics Academy offered by Google.

Hopefully this post was helpful in teaching you how to setup Google Analytics 4 for your WordPress site. If you haven’t already created a Google Search Console account, head to this post and I’ll show you how to tackle that.

How to Setup Google Analytics 4 for Your WordPress Site

Share this

Hi There.

Welcome to the blog. I’m Ashley Hughes, kindergarten teacher turned web and graphic designer.  I love helping educators and creative entrepreneurs build their brand and business.  

ashley

Looking for something?

SEO

Learn With Me

Want to learn how to build the website of your dreams without paying thousands?  Stop piecing together YouTube videos to try and figure it all out.  Let me walk you through everything!  From hosting to launch, I’ll hold your hand the whole way.  

Resource Library

Want access to ALL of my exclusive email list freebies?  Checklists, WordPress tools, clipart, organizers, and more!  

More posts you may enjoy...

Picture of ashley

ashley

Jesus lover, wife, mama of 2, mama of 2 dogs, graphic and web designer, former elementary teacher, Kentucky girl, and a coffee and wine enthusiast.

Just add your name and email and the WordPress Maintenance checklist will immediately download!   No waiting to check your email!  

Just add your name and email and the checklist will immediately download!   No waiting to check your email!  

Just add your name and email and the form will immediately download!   No waiting to check your email!