Configure site analytics
set_site_analyticsAdd an analytics snippet (Plausible, Google Analytics, or custom script) to every page's and re-render the site. Set enabled:false to remove it.
Instructions
Add an analytics snippet to every page of the site's : Plausible or Google Analytics by id, or a raw custom . Re-renders the site. Set enabled:false to remove it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Plausible domain or GA measurement id (e.g. G-XXXX). | |
| enabled | No | ||
| project | Yes | ||
| snippet | No | Raw <script> for provider 'custom'. | |
| provider | No |