Google Analytics Dashboard

Shows GA4 traffic stats and live visitors as widgets in the Payload admin dashboard

Community 7 617/wk MIT v1.1.0

Installation

pnpm add @zubricks/plugin-google-analytics

About

Google Analytics Dashboard puts GA4 numbers on the Payload admin home screen, so editors see how the site is doing without opening another tool. The widgets cover an overview of active users, total users, page views, events and key events with a 7-day trend chart, a list of the most visited pages, live active users with the top three locations, and sessions broken down by traffic channel.

Data is read from your GA4 property through a Google service account with viewer access, so the admin panel shows the same figures as Google Analytics. A demo mode fills the widgets with sample data for screenshots or development without a connected property. The widgets follow Payload's light and dark themes, and you choose which widgets appear and how wide each one is in the default dashboard layout.

Package info

Package name
@zubricks/plugin-google-analytics
Latest version
1.1.0
Unpacked size
428 kB
License
MIT
Weekly downloads
617
Last publish
Aug 14, 2026

More from zubricks

View profile

Compresses and converts uploaded images to smaller WebP, AVIF, JPEG or PNG files

Admin panel to trigger, watch and retry Payload Jobs tasks and workflows by hand

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