Google Analytics 4

Shows Google Analytics 4 widgets and a dashboard inside the admin panel

Community 6 14/wk MIT v0.1.6

Installation

pnpm add payload-ga-4

About

Google Analytics 4 adds traffic widgets and a full analytics dashboard to the Payload admin panel. Editors see visitor and page data without leaving the CMS or opening a separate Google console.

Widgets can sit on the main dashboard, beside a collection list or edit screen, or on a global's edit screen, with a choice of 7, 30 or 90 day timeframes. Access is authenticated with a Google service account, so visitors do not need to approve an OAuth screen.

Package info

Package name
payload-ga-4
Latest version
0.1.6
Unpacked size
161 kB
License
MIT
Weekly downloads
14
Last publish
Mar 10, 2026

Similar plugins

More in Analytics

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

Splits page traffic between variants you create in the Payload admin

Sales totals by period, product and customer for Payload ecommerce stores

Logs AI crawler visits, serves llms.txt and shows an AI visibility dashboard

Tracks AI API token spend and stops jobs when daily, monthly or per-job budgets run out