digitalwerft / statamic-plausible-proxy
Installs: 69
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/digitalwerft/statamic-plausible-proxy
This package is auto-updated.
Last update: 2025-11-14 11:49:38 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