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.
We have a WordPress plugin that makes the integration with WordPress nice and easy.
Here's how to get started with our WordPress plugin
How to add the script to your Ghost site
How to add the script to your Webflow site
How to add the script to your Buttondown site
How to add the script to your Squarespace site
How to add the script to your Wix site
How to add the script to your Discourse community
How to add the script to your Docusaurus site
How to add the script to your Carrd site
How to add the script to your Shopify store
Google Tag Manager (GTM)
Plausible can even be integrated using the Google Tag Manager. Add the Plausible snippet to the "Custom HTML Tag" and set the trigger to be "All Pages" if you want to count traffic on all of your pages.
Note that you cannot use Google Tag Manager if you want to track a subfolder. Only naked domain (yoursite.com) or subdomain (subdomain.yoursite.com) will work as the data-domain attribute while a subfolder (yoursite.com/subfolder) will not.
GatsbyJS: A Gatsby plugin for adding Plausible Analytics to your Gatsby site. Built and maintained by Curtis Cummings of https://aquil.io/.
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: 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.
Bridgetown: A Liquid tag to add Plausible Analytics to your Bridgetown site. Built and maintained by Andrew Mason. Here's the source code.
Hugo: Plausible-Hugo is a theme component to easily add Plausible Analytics to your Hugo site. You can add custom goals, outbound link custom goals, 404 custom goal, ignore tracking on certain pages and manage CSP rules.
You can proxy the script for adblockers (or use deprecated custom cname). You also can embed your dashboard with 1 line of code.
It works for both Plausible Analytics Cloud and Self-Hosted. Debug mode available. Can be used as Hugo Module. Built and maintained by Divinerites.
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: 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: 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: 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: Webanalytics for Jekyll. Just install the plugin, configure it and you are done. Contribution by David Schmitt.
Gridsome: A plugin to add Plausible Analytics to your Gridsome site. Built and maintained by Sven Adolph.
Grav: Add Plausible Analytics to your Grav CMS site and configure it from the admin panel. Built and maintained by Iain Gillis.
Neos CMS: Add Plausible Analytics to your Neos site. Built and maintained by Jon Uhlmann.
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.
Plausible API Ruby Gem: This is a simple wrapper to read the Plausible API with Ruby. Built and maintained by Dailytics.
go-plausible: Golang wrapper for the Plausible API. Built and maintained by André Santos.
Plausible Flatpak App: Linux app for Plausible. Built and maintained by Cassidy James Blaede.
Craft CMS plugin: Gives you handy dashboard widgets to display analytics data from Plausible. Built and maintained by Shorn.
Hego plugin: A simple Hexo plugin to inject Plausible script into your pages. Built and maintained by Marco.
MediaWiki Extension: MediaWiki extension to enable Plausible Analytics. Built and maintained by Octfx.
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.
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!