
Our Really Simple Google Analytics plugin is the easiest way to add your Google tag across your entire WordPress site. No theme edits. No duplicate tags. No manually editing HTML files. Just enter your Measurement ID once, and the plugin will inject the official gtag.js snippet immediately after the opening <head> tag on every public page. As recommended by Google.
It never adds multiple tags, never touches the admin dashboard, and you don’t have to edit your theme files.
✅ WordPress 6.6+ compatible
✅ PHP 7.2+
✅ Supports GA4 Measurement IDs (G-…)
✅ Also works with AW- and DC- tags
✅ One tag per page (prevents duplicates)
Features
- Head-first injection: Places the Google tag right after
<head>on every public page. - No duplicates: Detects existing snippets and ensures only one tag per page.
- GA4, Ads & Floodlight: Accepts
G-,AW-, andDC-tag formats. - Skip logged-in users: Optionally prevent tracking of administrators and editors.
- Status + Settings combined: One top-level menu that shows current tag health and lets you update settings.
- One-click test: The “Open Frontend Test” link lets admins verify injection even when skipping logged-in users.
- Theme-agnostic: Works without modifying templates or child themes.
- Lightweight: No bloat — only the Google tag you specify.
How It Works
- Enter your Measurement ID (e.g.,
G-XXXXXXXXXX) in Google Analytics → Status. - The plugin injects the official
gtag.jssnippet immediately after<head>on all public pages. - It automatically skips admin, feeds, robots, and trackbacks.
- Already have a tag? The plugin prevents duplicates for the same ID.
- Use Open Frontend Test to confirm the snippet is present.
Screenshots
- Status & Settings — shows current tag, Measurement ID field, and skip-logged-in toggle.
- Test Link — one-click frontend test with
?rsga_test=1. - HTML Output — snippet appears right after
<head>in page source.
Installation
- Download the ZIP and upload via Plugins → Add New → Upload Plugin, then Activate.
- Go to Google Analytics → Status in the admin sidebar.
- Paste your Measurement ID (starts with
G-, also supportsAW-orDC-). - Optionally enable Skip for logged-in users.
- Click Open Frontend Test to verify injection after
<head>.
FAQ
Where do I find my Google tag (Measurement ID)?
In Google Analytics, open your GA4 property → Admin → Data Streams → Web. Copy the Measurement ID starting with G- and paste it into the plugin’s Status page.
Will the tag be added to new pages automatically?
Yes. The plugin injects the snippet at render time, so new posts and pages are covered automatically.
Can I avoid counting my own visits?
Yes. Enable Skip for logged-in users, or set filters in GA to exclude your IP address.
Does it support multiple tags?
No. It is deliberately simple — only one tag per page, to prevent conflicts and duplicate tracking.
Will it slow down my site?
No. The plugin is lightweight and loads Google’s recommended gtag.js asynchronously.
Changelog
v1.0.0
- Initial release with
<head>injection and duplicate prevention. - GA4, AW-, and DC- tag support.
- Top-level admin menu with combined Status + Settings.
- One-click “Open Frontend Test” link.
Support
Need help or have feature ideas (like consent mode or per-post-type controls)? Reach out and we’ll get you set up quickly.
Get Really Simple Google Analytics
Simple, reliable, and theme-agnostic analytics injection for WordPress.