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. Let us know about any other integrations that you've built and we will feature them. Thanks for your support!

Here's how to get Plausible Analytics up and running on your 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

Ghost#

How to add the script to your Ghost site

Webflow#

How to add the script to your Webflow site

Buttondown#

How to add the script to your Buttondown site

Squarespace#

How to add the script to your Squarespace site

Wix#

How to add the script to your Wix site

Discourse#

How to add the script to your Discourse community

Docusaurus#

How to add the script to your Docusaurus site

Carrd#

How to add the script to your Carrd site

Shopify#

How to add the script to your Shopify store

Hugo#

How to add the script to your Hugo site

Single-page applications#

Single-page applications

Hash-based routing#

Hash-based routing

Google Tag Manager (GTM)#

Google Tag Manager

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.

GatsbyJS#

GatsbyJS: A Gatsby plugin for adding Plausible Analytics to your Gatsby site. Built and maintained by Curtis Cummings of https://aquil.io/.

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 Analytics account. Built and maintained by Lukas Rosenstock. Here's the source code.

Drupal#

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

Django / Wagtail#

Django-Plausible: Django module to provide easy Plausible integration, with Wagtail support. Built and maintained by Jake Howard.

Bridgetown#

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

AUR package for Arch Linux#

AUR package for Arch Linux: Start it using systemctl start plausible, enable it at boot with systemctl enable plausible and change the environment variables by editing /etc/plausible.conf. Built and maintained by Rhys Perry.

NextJS#

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

Vue.js & Nuxt.js#

Vue.js & Nuxt.js: A Vue.js plugin and NuxtJS module for Plausible Analytics. 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.

Hybrid native + web app#

Hybrid native + web app: Built and maintained by Cassidy James Blaede.

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.

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.

Gridsome#

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

Grav#

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

Neos CMS#

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

Statamic#

  • Statamic: Let your Statamic users easily navigate to their shared Plausible link from inside the control panel. Built and maintained by visuellverstehen.

  • 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.

Ruby#

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

Go#

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

R#

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

Flatpak#

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

Craft CMS#

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

Hexo#

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

MediaWiki#

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

Podcastpage.io#

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

iOS widget for quick overview of your stats#

iOS widget to display the total visitors count for today and the live visitors count with Plausible and Scriptable. Built and maintained by Fabrizio Rinaldi.

Plugin that adds DNT and offline functionality#

You can now 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".

Paste the script into the header section#

Alternatively, you can integrate Plausible into your site manually by pasting the Plausible Analytics tracking script code into the Header (<head>) section of your site.

Don't see your favorite tool in this list? We're always working on new guides so please add a request or contribute to this list with the guide to your favorite tool. Thanks!