Switch to Plausible analytics

Detects automatically route changes

- use provided script
- specify domain
- send event name with optional props
This commit is contained in:
2022-10-25 16:43:51 +02:00
parent 5c4337a9a6
commit 25f62c0df0
8 changed files with 19 additions and 57 deletions

View File

@@ -31,7 +31,7 @@
// If successful
if (result.data.success) {
sendEvent({ action: 'newsletterSubscribe' })
sendEvent('newsletterSubscribe')
update()
} else {
// Hide message for errors