Getting Started with Lean GA4 Tracker

Lean GA4 Tracker is a lightweight, privacy-friendly Google Analytics 4 plugin for WordPress.

This guide will help you install, configure, and verify tracking within a few minutes.


Step 1: Install the Plugin (List Block)

  1. Navigate to your WordPress Admin → Plugins → Add New.
  2. Search for Lean GA4 Tracker.
  3. Click Install Now and then Activate.

Alternatively, download the ZIP from WordPress.org and upload it manually.


Step 2: Add Your GA4 Measurement ID (Heading + Paragraph + Code Block)

  • Go to Settings → Lean GA4 Tracker in your WordPress dashboard.
  • Enter your Measurement ID (format: G-XXXXXXX).
  • Click Save Changes.

Example:

G-1A2B3C4D5E

Step 3: Verify Tracking (Heading + Paragraph + List Block)

To confirm data is flowing:

  1. Open your website in an incognito/private browser window.
  2. In another tab, go to your Google Analytics 4 → Admin → DebugView.
  3. Interact with your site (page views, clicks).
  4. Events should appear in DebugView within seconds.

Step 4: Basic Configuration (Heading + Paragraph + Toggle List)

Lean GA4 Tracker provides simple but powerful options:

  • Script Loading Mode: Choose default, async, or defer for performance.
  • Exclude User Roles: Prevent admins/editors from being tracked.
  • Consent Mode Support: Integrates with popular cookie consent plugins.

Let Us Work Together

Let us Plan Your Website or Digital Strategy Together

Start My Proposal Now →
Getting Started with Lean GA4 Tracker – Lean GA4 Tracker Documentation