Added telemetry collection (through jitsu.com)

- Introduced useTelemetry() hook
 - Telemetry events are sent for page_view, booking_confirmed, time_selected, date_selected events
 - Telemetry is configured (and can be disabled) with NEXT_PUBLIC_TELEMETRY_KEY env variable
This commit is contained in:
vklimontovich committed 2021-04-27 17:19:12 +03:00
1 parent 18d1974ae0
commit 2894be8689
8 files changed
+100 -6

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
"dependencies": {
"@headlessui/react": "^1.0.0",
"@heroicons/react": "^1.0.1",
"@jitsu/sdk-js": "^2.0.0",
"@prisma/client": "2.21.2",
"@tailwindcss/forms": "^0.2.1",
"bcryptjs": "^2.4.3",