digitalwerft / statamic-plausible-proxy
There is no license information available for the latest version (dev-main) of this package.
Package info
github.com/digitalwerft/statamic-plausible-proxy
pkg:composer/digitalwerft/statamic-plausible-proxy
dev-main
2025-08-14 11:22 UTC
This package is auto-updated.
Last update: 2026-03-14 12:42:45 UTC
README
Statamic Plausible Proxy is a Statamic addon that simply includes a link tag to plausible. If neccessary events will be proxied so ad-blockers won't block targeting.
Features
{{ plausible }}tag for including a link tag to plausible in the<head>of the document.- Can be used to proxy event requests through statamic first. This is useful if you want to stop ad-blockers from blocking requests to plausible.
- Option to proxy
plausible.jsto prevent ad-blockers from blocking plausible.
How to Install
You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:
composer require digitalwerft/statamic-plausible-proxy
How to Use
In your head simply include the following tag:
{{ plausible }}
This will render a link tag to plausible.
Use the following .env variables to configure the addon:
PLAUSIBLE_SITE="website.com" # url of the website you used to register plausible with PLAUSIBLE_ENABLED=false # activate or deactivate the addon entirely (eg. in development mode) PLAUSIBLE_PROXY_ENABLED=true # proxy events through statamic