Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.


Repository files navigation

PROJECT MOVED TO btrb/bridgetown-plausible


Plausible is a lightweight and open-source website analytics tool. It doesn’t use cookies and is fully compliant with GDPR, CCPA and PECR. This plugin is meant to remove all friction from adding your Plausible Analytics tracking script code to your Bridgetown site.

The alternative to using this plugin is just pasting your Plausible tracking script code directly into the head of your document:

  <!-- ... -->
  <script async defer data-domain="" src=""></script>
  <!-- ... -->

But if you use this plugin, all you need to do is define your Plausible domain in your Bridgetown config file and paste this into your document head:

  <!-- ... -->
  {% plausible %}
  <!-- ... -->


If you're running Bridgetown v0.15 or later, you can install this plugin via an automation to guide you through the configuration:

bundle exec bridgetown apply

Otherwise, you can run this command to add this plugin to your site's Gemfile:

bundle add bridgetown-plausible-tag -g bridgetown_plugins

or add the following to your Gemfile:

group :bridgetown_plugins do
  gem "bridgetown-plausible-tag", "~> 0.0.1"

Run bundle install and then modify your bridgetown.config.yml configuration to point to your Plausible domain.


# bridgetown.config.yml

  # Your Plausible domain.
  # Note that this domain should not include www or https://
  # Type: String
  # Required: true


This plugin provides the plausible Liquid tag to your site.

Use the tag in the head of your document:

{% plausible %}

Refer to the Plausible Documentation for more information.



This starter can be used to reproduce issues as well as provide an example of the plugin's usage.

You can view the live version at:


Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.


This plugin is released under the MIT License.