Plausible

Integrate Plausible Analytics with Flarum

Compatible with Flarum v1.8.5

Latest release v1.1.0

51 downloads

released on Oct 18, 2023

Plausible

License Latest Stable Version Total Downloads

A Flarum extension. Integrate Plausible Analytics with Flarum.

Plausible is a privacy-friendly Google Analytics alternative. It is a more lightweight, it doesn't use cookies and it is fully compliant with regulations like GDPR or CCPA.

Features

  • Add the HTML code for tracking automatically rather than having to add the snippet manually.
  • Support for proxies as a way to avoid adblockers blocking the tracking code, allowing to swap the domain that is serving the integration code by a custom one.
  • Allow admins to be excluded from the data tracking, in order to avoid skewing the statistics on small forums.

Motivation

I made this plugin because I manage a small Flarum forum and I wanted to get into plugin development. This plugin is simple and only does one single thing, but it already has teached some important aspects of plugin development. I am also a Plausible user and every time I changed some settings and then browsed the forum to test my changes, my session was included in the stats and I wanted a way to exclude myself.

Installation

Install with composer:

composer require danirod/flarum-plausible:"*"

Updating

composer update danirod/flarum-plausible:"*"
php flarum migrate
php flarum cache:clear

Links

© 2024 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.