GA Google Analytics – Connect Google Analytics to WordPress
✨ Connects Google Analytics to WordPress ✨ Easily add Google Analytics 4 to your web pages This plugin enables Google Analytics for your entire WordPress site. Lightweight and fast with plenty of great features. 🔥 Enable Google Analytics 4 Steps to enable Google Analytics 4: Follow this guide to create a GA4 account During account creation, you’ll get a tracking (measurement) ID Add your new tracking ID to the plugin setting, “GA Tracking ID” Select “GA4” for the plugin setting, “Tracking Method” Save changes and done. Wait 24-48 hours before viewing collected data in your GA account. 🔥 GA Tracking Options Here are the tracking methods available with this plugin: GA4 / Google Analytics 4 (default) Universal Analytics (deprecated) Legacy Tracking (deprecated) Note: GA4 is recommended. Google has deprecated/disabled all other tracking options. 🔥 GA Feature Support Supports Google Analytics 4 Supports Display Advertising Supports Enhanced Link Attribution Supports IP Anonymization Supports Force SSL Supports Google Optimize Supports Consent Signals Supports Tracker Objects (Universal Analytics) Supports User Opt-Out (Universal Analytics) Also supports tracking links and conversions via the Custom Code setting. Learn more about Google Analytics. 🔥 General Features Blazing fast performance Does one thing and does it well Drop-dead simple and easy to use Regularly updated and “future proof” Stays current with the latest tracking code Includes tracking code in header or footer Includes tracking code on all WordPress web pages Includes option to add your own custom markup Sleek plugin Settings page with toggling panels Option to disable tracking of admin-level users Option to enable page tracking in the Admin Area Works with or without Gutenberg Block Editor Easy to customize the tracking code More features available in the Pro version » This is a lightweight plugin that inserts the required GA tracking code. To view your site statistics, visit your Google Analytics account. 🔥 Pro Version GA Google Analytics Pro includes the same features as the free version, PLUS the following: Visitor Opt-Out Box (frontend UI) Configure multiple tracking codes Live Preview of all tracking codes Choose location of multiple tracking codes Supports Custom Code in header or footer Disable tracking of all logged-in users Disable Tracking for any Post IDs, User Roles, Post Types Disable Tracking for Search Results and Post Archives Display Opt-Out Box automatically or via shortcode Complete Inline Help/Documentation Priority plugin help and support 🚀 Learn more and get GA Pro » Privacy User Data: This plugin does not collect any user data. Even so, the tracking code added by this plugin is used by Google to collect all sorts of user data. You can learn more about Google Privacy here. Cookies: This plugin uses simple cookies for the visitor Opt-Out Box to remember user preference for opt-in or out of Google Analytics. Services: This plugin does not connect to any third-party locations or services, but it does enable Google to collect all sorts of data. GA Google Analytics is developed and maintained by Jeff Starr, 15-year WordPress developer and book author. Support development I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books: The Tao of WordPress Digging into WordPress .htaccess made easy WordPress Themes In Depth Wizard’s SQL Recipes for WordPress And/or purchase one of my premium WordPress plugins: BBQ Pro – Blazing fast WordPress firewall Blackhole Pro – Automatically block bad bots Banhammer Pro – Monitor traffic and ban the bad guys GA Google Analytics Pro – Connect WordPress to Google Analytics Head Meta Pro – Ultimate Meta Tags for WordPress REST Pro Tools – Awesome tools for managing the WP REST API Simple Ajax Chat Pro – Unlimited chat rooms USP Pro – Unlimited front-end forms Links, tweets and likes also appreciated. Thank you! 🙂
Top keywords
- tracking23×3.71%
- google19×3.06%
- analytics17×2.74%
- google analytics14×2.26%
- wordpress13×2.10%
- pro12×1.94%
- supports11×1.77%
- ga9×1.45%
- code8×1.29%
- tracking code6×0.97%
- user6×0.97%
- data5×0.81%
SlimStat Analytics
Most analytics plugins quietly hand your visitors to someone else’s cloud. SlimStat doesn’t. Every pageview, click, and visitor lands in your own WordPress database and stays there: yours to read in real time, yours to purge whenever you want, never shipped off to Google or anyone else. See the whole story the moment it happens: who’s on your site right now, where they are in the world, what they’re reading, and which links they follow on the way out. Set a goal and watch it convert, or chain a few steps into a WooCommerce funnel and see exactly where people slip away. It’s the depth you’d expect from a hosted analytics service, running entirely on your own terms. Best part: privacy isn’t a setting you have to hunt for. Anonymized IPs, Do Not Track, a consent banner, and scheduled data cleanup are GDPR-ready from the first activation. Thousands of WordPress sites already trust SlimStat to keep their analytics honest, fast, and entirely their own. Main Features Real-time access log — Your site’s pulse, live. Watch each visit land the instant it happens: the page, the spot on the map, the search or link that sent them, how quickly your server replied, human or bot. Complete access log — Every visit in one searchable table. Drill into the full history and break it down by date, country, browser, OS, referrer, search term, or content type to answer the questions the summary charts can’t. Goals & funnels — Turn raw traffic into answers. Define a goal to measure a conversion (a WooCommerce sale, a signup, a key pageview) and see uniques, totals, and conversion rate. Or chain steps into a funnel to spot exactly where visitors drop off. One goal is free; up to five goals and full funnels unlock with Pro. Outbound link report — See which external links actually earn clicks. SlimStat records every outbound link your visitors follow, so you know what’s sending traffic off your site and which partnerships pull their weight. Know your visitors — Go past pageviews to the people behind them: returning readers, logged-in users, and a full audience breakdown by country, language, browser, OS, and screen size. (Pro’s User Overview adds per-visitor journeys, time on site, and Gravatars.) Your data, your server — No third-party cloud, no Google looking over your shoulder. Every byte lives in your WordPress database, and one-way IP hashing lets you count unique visitors without ever storing who they are. GDPR, sorted — Anonymize or hash IPs, honor Do Not Track, auto-purge old records on a schedule, and drop in a translatable consent banner that snaps straight into the WP Consent API (WPML and Polylang welcome). Compliance by design, not an afterthought. Admin bar stats — Keep an eye on the numbers without leaving your work. Online visitors, pageviews, and top pages sit one glance away in the WordPress admin bar, on every screen. Make every report yours — Rearrange, add, or hide widgets across Real-Time, Overview, Audience, Site Analysis, and Traffic Sources until each screen shows exactly what you care about. Shortcodes — Drop any report into a widget, post, or page with a single shortcode. Filters — Decide who counts. Skip your own team, known bots, whole IP ranges, admin pages, or entire countries so your stats reflect real visitors, not noise. Geolocation — Put a city and country to every visitor, plus their browser and operating system, powered by MaxMind and Browscap. World map — Watch your audience light up across the globe at a glance, even from your phone (map by JQVMap). Export & email — Download your reports as CSV files, generate user heatmaps, or get the day’s numbers in your inbox each morning (heatmaps and email reports via Pro). Cache-friendly — Plays nicely with W3 Total Cache, WP Super Cache, Cloudflare, and most caching plugins. Pro Pack Features Love the free plugin? Pro is for sites that live by their numbers. It adds the heavier tools without changing a thing about how SlimStat respects your data: Email reports — Wake up to the numbers that matter. Schedule the reports you care about and have them land in your inbox as clean HTML tables, with the columns laid out your way. Heatmaps — See exactly where visitors click, and where they don’t, with a heatmap layer painted right over your live pages. User overview — Follow individual registered users: what they viewed, how long they stayed, and how fast your server answered, with Gravatars to put a face to the visit. Extended overview — Add your own columns to the User Overview report and export file, so it tracks exactly what your site cares about. More goals & funnels — Up to five conversion goals and three full funnels, with ready-made templates for WooCommerce checkout, signups, and content engagement. Network analytics — Run reports and settings across an entire multisite network from one place. MaxMind integration — Connect MaxMind’s geolocation API for richer, more precise detail on where your visitors come from. Custom database — Store all your analytics in a separate, external database to keep your main WordPress DB lean. Export to Excel — Download any report as a ready-to-share Excel file. Requirements WordPress 5.6+ PHP 7.4+ MySQL 5.0.3+ At least 5 MB of free web space (240 MB if you plan on using the external libraries for geolocation and browser detection) At least 10 MB of free DB space At least 32 Mb of free PHP memory for the tracker (peak memory usage) Please note If you decide to uninstall Slimstat Analytics, all the stats will be PERMANENTLY deleted from your database. Make sure to setup a database backup (wp_slim_*) to avoid losing your data. Report Bugs Having trouble with a bug? Please create an issue on GitHub. Kindly note that GitHub is exclusively for bug reports; other inquiries will be closed. For security vulnerabilities, please report them through the Patchstack Vulnerability Disclosure Program. The Patchstack team will validate, triage, and handle any security issues.