Add Plausible Analytics
How to add Plausible Analytics to your Hyas website.
On this page
Installation
npm install plausible-tracker -D
Usage
Add to ./assets/js/plausible.js
:
import Plausible from 'plausible-tracker'
const { trackPageview } = Plausible({
domain: 'my-app.com',
})
trackPageview()