Analytics

Adds a GA4-backed analytics dashboard and event tracking to the Payload admin

Community 702/wk MIT v1.3.0

Installation

pnpm add @focus-reactive/payload-plugin-analytics

About

Analytics Plugin puts a Google Analytics 4 dashboard inside the Payload admin panel. Editors see traffic, top pages, traffic sources, events, devices, geography, sessions, user journeys and lead-action conversions without leaving the CMS. The plugin stores nothing in your database, because GA4 remains the source of truth and the admin reads its reports through the GA4 Data API using a Google service account.

On the front end, a provider component loads the GA4 tracking script, records page views on first load and on every route change, and offers components and hooks for engagement and lead events such as phone clicks or form submits. An optional A/B testing tab reads experiment data from GA4 when that companion plugin is installed.

Package info

Package name
@focus-reactive/payload-plugin-analytics
Latest version
1.3.0
Unpacked size
1.5 MB
License
MIT
Weekly downloads
702
Last publish
Nov 27, 2026

More from focusreactive

View profile

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Live SEO checks in the Payload document editor, with a SERP preview

Splits page traffic between variants you create in the Payload admin

Click-to-edit overlays on the frontend that open the matching field in the admin

Saves and applies reusable block presets from the admin panel

AI chat agent in the Payload admin that finds, writes and translates content

Similar plugins

More in Analytics

Identifies Admin users and tracks sign-in flows in PostHog

Counts users by role and other fields, hiding groups too small to show

Creates and syncs Dub shortlinks for Payload documents as they are published

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds KPI figures, lists and charts to the Payload admin dashboard, read from your collections