GA4 Analytics

Integrates Google Analytics 4 into Payload CMS with admin dashboards and reporting.

Community 5 128/wk MIT v1.1.0

Installation

pnpm add payload-plugin-ga4-ecommerce

About

This plugin adds Google Analytics 4 reporting capabilities to Payload CMS, providing robust insights directly within the admin interface. It features a dedicated analytics dashboard, showcasing key performance indicators such as views, visitor counts, bounce rates, and more. Each record within configured collections displays aggregated metrics, enabling users to track specific items such as products or pages. The plugin supports event tracking for e-commerce actions like purchases and cart additions, ensuring crucial interactions are monitored and reported. It includes a comprehensive GA4 Data API service layer, allowing for requests like runReport and getMetadata to be available as typed endpoints. It also implements tiered caching strategies and dual-layer rate limiting to optimize performance and manage API utilization effectively. Installation requires Node.js 18.20.2 or later and Payload CMS version 3.37.0. Users can manage configuration and collection mappings easily, making it a valuable addition for any e-commerce project using Payload CMS.

Package info

Package name
payload-plugin-ga4-ecommerce
Latest version
1.1.0
Unpacked size
507 kB
License
MIT
Weekly downloads
128
Last publish
May 10, 2026

More from ContiDigital

View profile

Similar plugins

More in Commerce