Jump to content

PlausibleAnalytics — Full-featured Plausible Analytics dashboard


Recommended Posts

Posted

Hi everyone,

I've built a module that integrates Plausible Analytics directly into the admin — with a full dashboard, charts, and a per-page stats widget on the edit screen.

GitHub: https://github.com/mxmsmnv/PlausibleAnalytics

What it does:

  • Dashboard under Setup → Analytics with summary cards (Visitors, Pageviews, Bounce Rate, Visit Duration)
  • Traffic trends chart + Top Pages bar chart + Traffic Sources donut chart
  • Tabbed breakdown: Geography, Devices, Browsers
  • Per-page widget on the page-edit screen — shows last 30 days stats inline
  • Period selector: Today / 7d / 30d / 6m / 12m
  • API response caching via LazyCron (configurable interval)
  • Self-hosted Plausible support via custom base URL
  • Chart.js vendored locally — no external CDN dependency
  • Role-based access via plausible-view permission

Screenshots:

plausible.thumb.png.d83c88c9f777244f1d6c52d7891a0b6d.png

Page-edit widget:

plausible-widget.png.9ded44ce8d30cb879b0c08fb33c0cbad.png

Built on Stats API v2 (POST /api/v2/query). The module handles all v2 quirks internally — event vs session metrics split, correct date_range values, visit:entry_page filter for per-page session stats.

Happy to answer questions. Bug reports and PRs welcome!

  • Like 10
  • Thanks 1
Posted

@maximus this looks awesome! Is the dashboard interactive? On your screenshot it doesn't look like it is.

So for example when a user clicks on "Instagram" in the sources panel would it filter for that source or segment etc?

Or is it intended as a basic dashboard and advanced insights would be via plausibles dashboard itself? eg like in the demo https://plausible.io/plausible.io

Posted
1 hour ago, bernhard said:

So for example when a user clicks on "Instagram" in the sources panel would it filter for that source or segment etc?

Or is it intended as a basic dashboard and advanced insights would be via plausibles dashboard itself? eg like in the demo https://plausible.io/plausible.io

Yes, I understand what you're talking about. There is no interactivity in the module, only dry data for the period. I think I'll think about it in the next versions.

  • Like 1
Posted

That would be really cool! On the other hand I had problems when using Plausible as data grew extremely large on a very small site over a very short period of time... So I'm not using it at the moment and went with the oldschool (and ugly) matomo... Your dashboard looks definitely a lot better, so I'm looking forward to seeing where you bring this 🙂 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...