July 9, 2026 · 2 min read

Set Up Google Analytics 4 on WordPress with Site Kit

Connect your WordPress site to Google Analytics 4 using Google's own Site Kit plugin, then confirm real visitors are being counted.

By Janet at Sixth Mile Operations

Google Analytics 4 answers the questions every owner/operator eventually asks: how many people visited the site this month, which services page do they actually read, and did that ad or blog post bring anyone in? It's free, and on WordPress the whole setup comes down to one plugin.

Find your Measurement ID

Start by setting up (or locating) your Google Analytics 4 property.

  1. Go to analytics.google.com and log in with your Google account.
  2. If you don't have a property yet, click Admin (the gear icon), choose Create Property, and follow the prompts to name it and add your website.
  3. Once your property exists, go to Admin > Data Streams and click your website's stream, or create one by choosing Web and entering your site URL.
  4. At the top of the stream details page you'll see your Measurement ID. It looks like G-XXXXXXXXXX. Copy it.

Connect it with Site Kit

Google's own WordPress plugin does the installation, so there's nothing to paste into your theme.

  1. Log into WordPress and go to Plugins > Add New Plugin.
  2. Search for "Site Kit by Google", then install and activate it.
  3. Launch the setup wizard, sign in with the same Google account you used above, and grant the permissions it requests.
  4. When prompted, connect your GA4 property. Site Kit detects your Measurement ID automatically.

One caution before moving on: install GA4 exactly one way. If the tracking code lands on your site twice (usually a plugin plus hand-pasted code), every visit gets counted twice and your numbers stop meaning anything. Site Kit alone is enough, and it also shows your key stats right inside the WordPress dashboard.

Watch yourself show up

The fastest way to confirm it's working is to be your own first data point.

  1. Open your website in a browser tab and click around like a visitor would.
  2. Back in analytics.google.com, open Reports > Realtime in the left sidebar.
  3. You should see at least one active user. That's you.

When that first active user appears, the setup is done. Give it a few weeks of traffic and you'll know which services people look at most and where your visitors come from, which is the information every good marketing decision starts with.