Fast, simple and customizable linktree
Set the following environment variables (see .env.example):
NEXT_PUBLIC_UMAMI_SRCNEXT_PUBLIC_UMAMI_WEBSITE_ID
Troubleshooting (production):
- Ensure the env vars are set in your hosting provider and redeploy (the script is only rendered when both are present).
- Confirm the domain configured in Umami matches the production host (e.g.
www.vs non-www). - View page source and search for
data-website-idto confirm the script is being injected.
Tip (adblock / privacy tools):
- If
cloud.umami.isis blocked, setNEXT_PUBLIC_UMAMI_SRCto/umami/script.js(this repo proxies the script and/api/sendvianext.config.ts).