Skip to main content

Installation guides

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

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 third-party integrations and plugins for various frameworks.

Official integrations

These are built and maintained by the Plausible team.

Add the snippet to the header of your site

To integrate your website with Plausible, you can manually insert our tracking snippet into the header section of your site. See the details here.

WordPress plugin

Using WordPress? We have an official WordPress plugin that makes the integration nice and easy. Here's how to get started with our WordPress plugin.

Google Tag Manager (GTM)

Using GTM? You can use our Google Tag Manager template. See how to integrate Plausible into your site with Google Tag Manager.

NPM package

NPM package: A lightweight library to add Plausible tracking to your site through an easy-to-install NPM package.

Run Plausible as a first-party connection

You can run Plausible script as a first-party connection from your domain name in order to bypass adblockers. Learn more here.

Server side tracking and mobile apps tracking

Our events API can be used to record pageviews and custom events server side without the use of JavaScript. You can use the events API to count users on your Android and/or iOS mobile apps too. Learn more here

Website builders and CMS platforms

Step-by-step guides for popular website builders and content management systems.

PlatformTypeDetails
ButtondownGuideHow to add the script to your Buttondown site
CarrdGuideHow to add the script to your Carrd site
DiscourseGuideHow to add the script to your Discourse community
DocusaurusGuideHow to add the script to your Docusaurus site
GhostGuideHow to add the script to your Ghost site
HubSpotGuideHow to add the script to your HubSpot site
HugoGuideHow to add the script to your Hugo site
NextJSGuideSimple integration for Plausible Analytics and NextJS with custom events
ShopifyGuideHow to add the script to your Shopify store
SquarespaceGuideHow to add the script to your Squarespace site
WebflowGuideHow to add the script to your Webflow site
WixGuideHow to add the script to your Wix site
Craft CMSPluginDashboard widgets to display analytics data from Plausible
DatoCMSPluginProvides a link to Plausible for the current record on the sidebar
DoctaveIntegrationHow to add Plausible to your Doctave project
Drupal (new module)PluginIntegrate Plausible, track custom events, block IPs, track file downloads, outbound links and more
DrupalPluginIgnore tracking on certain pages and by certain user roles
FlipsiteIntegrationInclude Plausible in your Flipsite settings and score 100% on Lighthouse
GitBookIntegrationTrack traffic in your published spaces from your Plausible dashboard
GravPluginAdd Plausible Analytics to your Grav CMS site and configure it from the admin panel
HelpDocsIntegrationNative Plausible integration for your knowledge base
KirbyPluginFrontend snippet and Kirby panel
Magento / Adobe CommercePluginSave visited pages, access analytics in admin area, manage goals and more
MediaWikiPluginMediaWiki extension to enable Plausible Analytics
Micro.blogPluginIntegrate Micro.blog with Plausible Analytics. Add under "Find Plug-ins" in Micro.blog
Neos CMSPluginAdd Plausible Analytics to your Neos site
NotionThird-partyUse a service like Potion or Super (paid tools) to add custom code to your Notion website
Open Journal Systems (OJS)PluginDisplays the Plausible dashboard in the editor dashboard for journal editors and managers
PayloadCMSPluginAdd charts and statistics widgets directly in your admin interface
PikaIntegrationWith a Pro account, you can add your own analytics and Plausible is officially supported
Podcastpage.ioIntegrationEnable the Plausible script through the "Integrations" page of your dashboard
PrestashopPluginAdd Plausible in Prestashop
PubliiPluginPlausible plugin for Publii
ReadymagGuideHow to add the script to your Readymag website
Sanity.ioPluginShow Plausible as an iframe inside of the Sanity dashboard
ShopwarePluginAdd Plausible Analytics to Shopware 6 with custom events and ecommerce data
StatamicPluginA wrapper around the Plausible API that fetches analytics into your dashboard
SyliusPluginIntegrates Plausible seamlessly into your Sylius store
TYPO3PluginTYPO3 extension for Plausible
WordPressPluginOur official WordPress plugin (listed above in official integrations)

JavaScript frameworks and frontend libraries

PlatformDetails
Single-page applicationsPlausible integrates automatically with modern pushState based routers (React, Angular, Vue etc). No extra configuration needed
Hash-based routingIf your frontend framework uses the URL hash for routing, use our hash-based tracker
Turbo / TurbolinksDisable automatic pageview tracking for full control over when pageviews are triggered
GatsbyA Gatsby plugin for adding Plausible Analytics to your Gatsby site
GridsomeA plugin to add Plausible Analytics to your Gridsome site
HexoA simple Hexo plugin to inject Plausible script into your pages
NuxtNuxt module to natively integrate Plausible Analytics
Vue.js & Nuxt.jsA Vue.js plugin and NuxtJS module for Plausible
Vue 3 & Nuxt 3Plausible module for Nuxt 3 and Vue 3
VuePressA VuePress-plugin for Plausible on your documentation website

Backend frameworks and server-side libraries

PlatformDetails
BridgetownProvides the plausible Liquid tag & ERB helper to your Bridgetown site
Django-PlausibleDjango module for easy Plausible integration, with Wagtail support
Django-plausible-proxyModule to proxy requests and send server-side events to Plausible Analytics
ElixirElixir library to push events to Plausible
GoGolang wrapper for the Plausible API
JekyllWeb analytics for Jekyll. Install the plugin, configure it and you're done
Laravel PlausibleBlade view with the script tag for Plausible and a wrapper for custom events
Laravel Plausible APIA Laravel package for interacting with the Plausible API
Laravel Plausible ExcludeQuickly add a page to exclude your visits from Plausible
RR wrapper for the Plausible API
RubySimple wrapper to read the Plausible API with Ruby

Mobile and native app SDKs

PlatformDetails
Android SDKAn Android SDK for Plausible Analytics
FlutterSend pageviews and custom events to Plausible
PlausibleSwiftPlausible Analytics pageview and event tracking for Swift
AviaryInsightsEasy to use Swift package for recording pageviews and custom events for Plausible
Qt6 / QMLQt6 QML plugin for Plausible
Localhost for hybrid appsEnable Plausible to count visitors on localhost for Cordova, Capacitor and other hybrid apps

Documentation tools

PlatformDetails
DocusaurusHow to add the script to your Docusaurus site
MkDocsPlausible Analytics support in Material for MkDocs
Sphinx / Read The DocsPlausible Sphinx extension
TypeDocTypeDoc Plausible plugin for your built HTML docs

Special configurations

ConfigurationDetails
Google AMP PagesDeclare an AMP-analytics object on your AMP pages to track with Plausible
Google Chrome extensionsInstructions for tracking Chrome browser extensions with Plausible
DNT and offlineAdd Do Not Track and offline functionality via the analytics library
SegmentNo official integration, but you can integrate via Google Tag Manager

Monitoring and automation

PlatformDetails
Bubble.ioPlugin to integrate Plausible into Bubble
GrafanaObserve Plausible records from Prometheus in Grafana
n8nCommunity node for working with the Plausible API
PrometheusAdd Plausible records to Prometheus with the Plausible exporter

Data pipelines, warehouses and other ways of viewing Plausible stats elsewhere

See this list for data pipelines, warehouses and other ways of viewing Plausible stats elsewhere. For instance, our stats API, official WordPress plugin and official Google Looker Studio connector.


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