Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
GAinWP Google Analytics Integration for WordPress icon

GAinWP Google Analytics Integration for WordPress

v6.1.0
by tomdude · 4.8 (126 reviews)

Enable Google Analytics tracking and reporting dashboards in your WordPress site in just seconds.

7K+ active installs Updated Oct 29, 2026 Tested to 7.1.5 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
GAinWP Google Analytics Integration for WordPress

About GAinWP Google Analytics Integration for WordPress

The GAinWP Google Analytics Integration for WordPress plugin allows you to easily integrate Google Analytics tracking and dashboard reporting into your website. It offers a range of features such as real-time stats, in-depth reports, customizable tracking code, and privacy-oriented options. The plugin is compatible with multisite network installs and has a long-term goal of providing an open Google Analytics WordPress API for integration with other plugins and themes.

Screenshots

GAinWP Google Analytics Integration for WordPress screenshot
GAinWP Google Analytics Integration for WordPress screenshot
GAinWP Google Analytics Integration for WordPress screenshot
GAinWP Google Analytics Integration for WordPress screenshot
GAinWP Google Analytics Integration for WordPress screenshot
GAinWP Google Analytics Integration for WordPress screenshot
GAinWP Google Analytics Integration for WordPress screenshot
GAinWP Google Analytics Integration for WordPress screenshot

Frequently asked questions

What does the GAinWP plugin do?
The GAinWP Google Analytics Integration for WordPress plugin easily integrates Google Analytics tracking and dashboard reporting into your website.
Why was GAinWP created?
GAinWP was created from the excellent Google Analytics Dashboard for WordPress (GADWP) plugin to maintain a simple, direct Google Analytics integration for those concerned about data privacy.
What are the features of GAinWP?
GAinWP provides a set of general Google Analytics stats, in-depth page reports, in-depth post reports, and customizable tracking code. It also has user privacy oriented features and supports custom dimensions and events.
What can you track with GAinWP?
GAinWP allows you to easily track various events like downloads, emails, outbound links, affiliate links, fragment identifiers, telephone, and page scrolling depth. It also supports custom event categories, actions, and labels using annotated HTML elements.
Is GAinWP compatible with multisite network installs?
Yes, GAinWP is fully compatible with multisite network installs and offers three setup modes for different configurations.

Changelog

6.1.0

  • New: form tracking for Gravity Forms, Contact Form 7 and WPForms, on by default. Successful submissions send form_complete, or generate_lead or sign_up for forms you set to Lead or Sign-up, with the form’s ID and name, including AJAX forms and forms that redirect.
  • New: goals with values. Mark results as goals, give them a value and a currency, and set per-form values.
  • New: GA4’s login and sign_up events for WordPress logins and registrations, and comment_submit for comments.
  • New: GA4 setup tab listing the custom dimensions, key events and GA4 settings your configuration needs, with warnings when Site Kit adds the same tag or events.
  • New: page attributes for content type and ID, content group, and the primary category from Yoast SEO or Rank Math.
  • New: gainwp.track() in JavaScript and a PHP recorder for sending your own events; gainwp_event, gainwp_event_recorded and gainwp_integrations hooks.
  • Changed: page attribute parameters renamed to GA4-style names (content_author, content_category, content_tags, content_publish_month, user_status); publish_year removed. See “Upgrading from 6.0”.
  • Changed: page attributes are sent with gtag('config') instead of gtag('set'), so they reliably apply to every event.
  • Changed: engagement events now work in Tag Manager mode, and links marked rel="sponsored" count as affiliate links.
  • Changed: scroll depth stops at 75%; GA4’s enhanced measurement covers 90%.
  • Changed: authors are always sent by display name; the username option was removed.
  • Fixed: a visitor’s opt-out is honored even after the site turns the opt-out shortcode off.
  • Fixed: link click events no longer send the Universal Analytics transport_type parameter.

6.0.0

  • Rewritten for Google Analytics 4 and modern WordPress (PHP 7.4+, WordPress 6.0+).
  • New: Google Consent Mode v2 defaults, Global Privacy Control support, scroll depth for GA4, opt-out for Tag Manager sites.
  • Settings move to Settings Google Analytics, with a status summary.
  • Settings from 5.x are migrated automatically. See “Upgrading from 5.x”.
  • Removed Universal Analytics, dashboard reports and real-time stats, Google sign-in, and features Google has discontinued.

5.4.6

  • Last Universal Analytics release.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

LiteSpeed Cache icon

LiteSpeed Cache

4.8 · 7M+ installs

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

WooCommerce icon

WooCommerce

4.5 · 7M+ installs

Everything you need to launch an online store in days and keep it growing for years. From your…