Recipe
Plausible Setup
Privacy-first analytics for your Meridian dashboard in under five minutes.
1. Add the script
Drop the Plausible snippet into your root layout. No cookies, no consent banner required.
<script defer data-domain="yourdomain.com" src="https://plausible.io/js/script.js" ></script>
2. Configure Vercel env
Set the domain variable in your Vercel project settings so the snippet picks up the right value across preview and production.
NEXT_PUBLIC_PLAUSIBLE_DOMAIN=yourdomain.com
3. Verify
Deploy, visit your live site, and check the Plausible dashboard. You should see your first pageview within seconds.
Need server-side events? See the events recipe for custom goal tracking.