JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q38763F
  • License MIT

Dashboard analytics integration plugin for Payload CMS (fixed version)

Package Exports

  • vanalytics-payload-v3
  • vanalytics-payload-v3/ui

Readme

Payload Dashboard Analytics Plugin (Fork with JSON Fixes)

This plugin is originally from NouanceLabs, which doesnt support Payload CMS v3.

Then it was refactored to support v3 by devmuhnnad

Why is it called VAnalytics-payload-v3

I love my name voxar sooooo..... Voxar + Analytics + Payload + V3 makes sense to meeeeeeeeeee

License

This project is licensed under the MIT License. See the LICENSE file for details.

What’s this fork?

  • The original plugin wasn’t maintained actively, but devmuhnnad ported it to work with Payload CMS v3.
  • I started using it but ran into some JSON errors during use.
  • So I fixed those JSON parsing issues and added some safe JSON handling to avoid runtime errors.

Features

  • Works with Payload CMS v3
  • Supports Plausible and Google Analytics (GA4) providers
  • Dashboard charts, live visitor counts, aggregate widgets
  • Caching support to reduce API calls
  • Flexible widget configuration on dashboard, collections, and globals

Installation

npm install payload-dashboard-analytics-v3

Usage

Use it as described in the original README — basically add to your plugins array in your Payload config with your provider and widget settings.

For full usage details, see the original repo: https://github.com/NouanceLabs/payload-dashboard-analytics

Thanks

Props to devmuhnnad for porting the original plugin to Payload v3. This fork just adds some fixes for smoother usage.