README.md in bridgetown-plausible-1.0.2 vs README.md in bridgetown-plausible-1.1.0
- old
+ new
@@ -54,11 +54,11 @@
or add manually in `Gemfile`:
```ruby
group :bridgetown_plugins do
- gem "bridgetown-plausible", "~> 1.0.2"
+ gem "bridgetown-plausible", "~> 1.1.0"
end
```
Run `bundle install` and then modify your `bridgetown.config.yml` configuration to point to your Plausible domain.
@@ -72,9 +72,17 @@
# Note that this domain should not include www or https://
#
# Type: String
# Required: true
domain: example.com
+ # Your Plausible instance domain.
+ # Only set this if you are self-hosting Plausible on your own domain.
+ # Requires https.
+ #
+ # Type: String
+ # Required: false
+ # Default: "plausible.io"
+ server: selfhosted-plausible.com
```
## Usage
This plugin provides the `plausible` Liquid tag & ERB helper to your site. If `BRIDGETOWN_ENV` is not `production`, than the tag will be wrapped in an HTML comment to prevent console erros in development. Make sure you set `BRIDGETOWN_ENV="production"` when you deploy in your script or in Netlify/Vercel/etc.