Features Analytics
Setup
1. Create a new site on Plausible.
2. Add your Plausible script globally to your site in the main
+layout.svelte
file.
src/routes/+layout.svelte
1<script
2 defer
3 data-domain="YOUR_DOMAIN"
4 data-api="/plausible/api/event"
5 src="/plausible/js/script.js"
6 ></script>