Skip to main content

Integration guides

Installing Plausible on a site can be a slightly different process depending on what tools you're using.

We've put together several guides that cover popular website builders and content management systems (CMS). These can help you set up and start counting your site visitors in no time.

Thanks to the members of our community, there are also integrations and plugins for various frameworks.

Here's the full list in alphabetical order:

Bridgetown

Bridgetown: A Liquid tag to add Plausible to your Bridgetown site. Built and maintained by Andrew Mason. Here's the source code.

Buttondown

How to add the script to your Buttondown site

Carrd

How to add the script to your Carrd site

Craft CMS

Craft CMS plugin: Gives you handy dashboard widgets to display analytics data from Plausible. Built and maintained by Shorn.

DatoCMS

DatoCMS plugin: Provides a link to Plausible for the current record on the sidebar. Built and maintained by Odd Camp.

DNT and offline functionality

You can use Plausible with the analytics library. Combine privacy first analytics with a tiny middleware layer to add features such as DNT (Do Not Track) and offline functionality. Built and maintained by David Wells.

note

Plausible by default doesn't take DNT (Do Not Track) into consideration as we're a privacy first analytics tool and DNT allows "data analysis techniques that protect the anonymity of the users".

Discourse

How to add the script to your Discourse community

Django

Docusaurus

How to add the script to your Docusaurus site

Drupal

Drupal: A Drupal module for Plausible. Allows you to ignore tracking on certain pages and by certain user roles. Built and maintained by Dane Rossenrode of Touchdreams.

First party connection (proxy)

You can run Plausible as a first party connection from your domain name. Learn more here.

Flatpak

Plausible Flatpak App: Linux app for Plausible. Built and maintained by Cassidy James Blaede.

Flutter

Flutter plugin: Send pageviews and custom events to Plausible. Built and maintained by Eric Trenkel.

Gatsby

Ghost

How to add the script to your Ghost site

Go

go-plausible: Golang wrapper for the Plausible API. Built and maintained by André Santos.

Google AMP Pages

To track Google AMP pages with Plausible, you need to declare an AMP-analytics object on your AMP pages. See the instructions here.

Google Chrome extensions

To track Google Chrome browser extensions with Plausible, you can follow these instructions.

Google Data Studio

There is a Plausible connector for Google Data Studio. It's community built and a paid product, but for those that require GDS, it's worth checking out.

Google Tag Manager (GTM)

You can integrate Plausible into your site by using Google Tag Manager.

Grav

Grav: Add Plausible Analytics to your Grav CMS site and configure it from the admin panel. Built and maintained by Iain Gillis.

Gridsome

Gridsome: A plugin to add Plausible Analytics to your Gridsome site. Built and maintained by Sven Adolph.

Hash-based routing

If you're using a frontend framework that uses the URL hash for routing, you need to use our hash-based tracker instead of the default one. See more here

Hexo

Hego plugin: A simple Hexo plugin to inject Plausible script into your pages. Built and maintained by Marco.

HubSpot

How to add the script to your HubSpot site.

Hugo

How to add the script to your Hugo site

Jekyll

Jekyll: Webanalytics for Jekyll. Just install the plugin, configure it and you are done. Contribution by David Schmitt.

Kirby

Kirby 3 Plausible: Frontend snippet and Kirby panel. Contribution by Rowdy Rabouw.

Localhost for hybrid apps

You can enable Plausible to count visitors on localhost which is useful in Cordova, Capacitor and other hybrid apps. Learn more here

MediaWiki

MediaWiki Extension: MediaWiki extension to enable Plausible Analytics. Built and maintained by Octfx.

Micro.blog

Micro.blog: Integrate Micro.blog with Plausible Analytics using a plugin. You can add it under Find Plug-ins in Micro.blog and then use the Settings button to configure it for your Plausible account. Built and maintained by Lukas Rosenstock. Here's the source code.

Mobile apps for Android and iOS

If you'd like to count users on your Android and/or iOS mobile apps, you can use our events API to record views and custom events. Learn more here

npm package

npm package: Frontend library to interact with Plausible. Same features as the official script, but as an npm module. Works with React. Built and maintained by Gustavo Maronato.

Neos CMS

Neos CMS: Add Plausible Analytics to your Neos site. Built and maintained by Jon Uhlmann.

NextJS

NextJS: Simple integration for Plausible Analytics and NextJS. Provides custom events functionality. Built and maintained by 4lejandrito.

Podcastpage.io

Add Plausible to your Podcastpage.io website. Just enable the Plausible script through the "Integrations" page of your dashboard to add the tracking script to all pages.

Publii

Plausible plugin for Publii. Built and maintained by TidyCustom.

Prestashop

Plausible module for prestashop. Built and maintained by mrdotb.

Qt6 / QML

Qt6 QML plugin for Plausible. Built and maintained by Elias Steurer.

R

plausibler: R wrapper for the Plausible API. Built and maintained by Giorgio Comai.

Ruby

Plausible API Ruby Gem: This is a simple wrapper to read the Plausible API with Ruby. Built and maintained by Dailytics.

Sanity.io

Plausible iframe dashboard widget: Simple plugin to show Plausible as an iframe inside of the Sanity dashboard. Built and maintained by Ole Svennevig.

Segment

There's no official Plausible integration with Segment but Segment allows you to integrate with Google Tag Manager. So you could integrate Plausible with Segment through Google Tag Manager. Here's how to use Google Tag Manager.

Server side tracking

We have the Plausible events API which can be used to record pageviews and custom events server side without the use of JavaScript. Learn more here.

Shopify

How to add the script to your Shopify store

Single-page applications

Plausible integrates automatically with modern pushState based frontend routers. If you're running a single-page application with React, Angular, Vue or similar frameworks, you don't need to add any extra configuration to make analytics work. Learn more here.

Sphinx / Read The Docs

To add Plausible to a Sphinx documentation build, you need to use the block extrahead template instruction.

First, update the conf.py to include your templates_path. Then create a template (e.g. _templates\layout,html) and include the block in the template: {% block extrahead %}<script ... >{% endblock %}. See Sphinx teamplate documentation.

Squarespace

How to add the script to your Squarespace site

Statamic

  • Plausible Wrapper: A wrapper around the Plausible API that fetches the analytics into your dashboard in a pretty way. Built and maintained by Jack Whiting.

We offer a manual mode in case you want full control over when pageviews are triggered on your website. The most common use-case for this is when you use Turbo (formerly Turbolinks). Learn more here

TYPO3

TYPO3 extension for Plausible. Built and maintained by Susanne Moog

Vue.js & Nuxt.js

Vue.js & Nuxt.js: A Vue.js plugin and NuxtJS module for Plausible. Exposes the functionality of plausible-tracker to Vue and Nuxt instances, Vue components, and Vuex stores. Built and maintained by Moritz Sternemann.

VuePress

VuePress: A VuePress-plugin allowing you to use Plausible for your documentation website. Built and maintained by Peter Thaleikis.

Webflow

How to add the script to your Webflow site

Wix

How to add the script to your Wix site

WordPress

We have a WordPress plugin that makes the integration with WordPress nice and easy.

Here's how to get started with our WordPress plugin

iOS widget for quick overview of your stats

Let us know about any other integrations that you've built and we will feature them in this list. Thanks for your support!