perfect-postcode/frontend/src/hooks/usePlausible.ts
2026-02-22 23:14:42 +00:00

12 lines
325 B
TypeScript

import { init as plausibleInit } from '@plausible-analytics/tracker';
plausibleInit({
domain: 'perfect-postcode.co.uk',
endpoint: 'https://stats.schmelczer.dev/status',
autoCapturePageviews: true,
captureOnLocalhost: true,
logging: true,
fileDownloads: true,
outboundLinks: true,
hashBasedRouting: true,
});