feat(website): Umami analytics (conversion + CTA events)

Add the Umami tracker (cookieless, no consent banner) in the document head,
limited to the production hostnames via data-domains so dev traffic doesn't
pollute the stats. Pageviews are auto-tracked per page and locale.

Custom events on the key funnel:
- demo-request (demo form submit, with teamSize)
- partner-application (partner form submit, with type)
- book-demo (every "Book a demo" CTA click) via data-umami-event
- login (clicks through to the app)

Also fix the mobile nav menu links, which weren't localized (would drop
Danish visitors back to English).
This commit is contained in:
Ronni Baslund
2026-06-06 21:14:42 +02:00
parent 7bee161ac1
commit 554cb99f2c
11 changed files with 35 additions and 13 deletions
+11
View File
@@ -49,6 +49,17 @@ export default defineNuxtConfig({
meta: [
{ name: 'theme-color', content: '#FAFAF7' },
],
// Umami — privacy-friendly, cookieless analytics (matches the cookie
// policy; no consent banner needed). data-domains limits tracking to the
// production hostnames so localhost/dev traffic doesn't pollute stats.
script: [
{
src: 'https://umami.coolify.lastcloud.io/script.js',
defer: true,
'data-website-id': '639dcd4c-1cb3-4edb-a2a2-6e9cf69348d4',
'data-domains': 'dezky.eu,www.dezky.eu',
},
],
},
},