How-to · WordPress.com

Add Google Analytics to your WordPress.com site

How to connect Google Analytics 4 to your WordPress.com website, where the Measurement ID goes, and what to know about consent.

1 min readBy Wiredeo

A laptop and phone showing visitor charts on a wooden desk
Photo: Vagaro, Unsplash

Steps checked against the platform’s own help pages on 27 October 2026. Menus move; if yours look different, tell us and we’ll update this page.

WordPress.com has a Google Analytics field in its Jetpack settings on paid plans.

Steps

  1. In Google Analytics, create a web stream and copy the Measurement ID.
  2. In WordPress.com, go to Jetpack > Settings and open the Traffic tab.
  3. In Google Analytics, paste the ID into Google Analytics Measurement ID and click Save.

Good to know

  • WordPress.com says this needs a Premium, Business or Commerce plan.
  • Data takes 24–48 hours to appear and isn’t backfilled.

What to copy

You don’t need header code or a plugin. WordPress.com says to copy just the tag ID. An ID starting with UA is the old Universal Analytics format, which Google is sunsetting, so swap it for a GA4 tag that begins with G. In the data stream, keep https:// selected and enter your domain without www.

If no visits show up

Google Analytics won’t show anything from before you connected. Jetpack Stats is built in on every plan, and its totals will always differ slightly from Google’s, though the trends match. If Jetpack Stats shows visitors but Google Analytics stays empty after 24–48 hours, check that the domain is spelled correctly, has no www, and matches your primary site address. If all of that is right, create a new tag and enter it again. To disconnect, clear the field and click Save.

Prefer something simpler or cookie-free? Compare options in Google Analytics vs Cloudflare vs Plausible vs Fathom, and track the five numbers that matter.

Add Google Analytics on other platforms

Compare all platforms for this task

More how-tos for WordPress.com

Sources

  1. WordPress.com Support, Google Analytics 2026

Filed under Getting foundRunning your site

Next step

Not sure where your own business stands?

A two-minute check-up shows where you are losing time and customers, and what to fix first.

Take the check-up Request an audit