Skip to content
›How to Install Google Analytic...

How to Install Google Analytics (GA4) in WordPress: 3 Easy Methods

In This Guide
Quick answer
  • Google Analytics 4 (GA4) is the current version of Google Analytics. Universal Analytics stopped processing data in July 2023.
  • The easiest method is Site Kit by Google, Google’s official WordPress plugin (5 million+ installs, November 2026).
  • MonsterInsights adds reports inside WordPress, and you can also paste the GA4 tag with a code snippet plugin.
  • Use only one method, so you don’t count visits twice.
Google Analytics shows how people find and use your site. Here are three easy ways to add GA4 to WordPress.

Before you start

Create a Google Analytics account and a GA4 property with a web data stream for your site. You’ll get a Measurement ID that starts with G-.

Method 1: Site Kit by Google

  • Install Site Kit by Google from Plugins → Add New.
  • Sign in with your Google account and connect Analytics.
  • Site Kit can also connect Search Console, PageSpeed Insights and AdSense.

Method 2: MonsterInsights

  • Install MonsterInsights (2 million+ installs on WordPress.org).
  • Connect your Google account in the setup wizard.
  • View reports in your WordPress dashboard.

Method 3: Paste the tag

  • Copy the Google tag from your GA4 data stream.
  • Add it to your site header with WPCode.
  • Avoid editing theme files directly.

Check it’s working

Open your site, then check the Realtime report in GA4.

Next steps

Track online store sales with GA4 ecommerce tracking and set up custom events.

FAQs

Sharing is caring

Popular on Bloggersutra Right Now!

Disclosure: Our content is reader-supported. If you click some of our links, we may earn a commission at no extra cost to you. See how Bloggersutra is funded. Here is our editorial process.

About the Editorial Staff

Editorial Staff at Bloggersutra is a team of WordPress writers led by Munish Siwatch, who has worked on website design and blogging since 2009. We write tutorials, reviews and guides that help beginners start, run and grow a WordPress website.

Join the Conversation

Leave a comment


Free WordPress Guides

Follow Bloggersutra for fresh WordPress tips.

WordPress Deals & Coupons

Save on hosting, themes, plugins and blogging tools.

Latest Posts

Start Your WordPress Blog

Follow our beginner guides, from choosing a host to publishing your first post.

Deals & Coupons

80% off for 2 months
20% off your first year
Up to 85% off + free domain