Skip to content

Commit

Permalink
refactor: cleanup umami events
Browse files Browse the repository at this point in the history
  • Loading branch information
gander committed Nov 22, 2024
1 parent bafa7b1 commit 9b27c62
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ if (import.meta.env.PROD && import.meta.env.VITE_SENTRY_DSN) {
formTitle: 'Send Feedback',
submitButtonLabel: 'Send',
successMessageText: 'Thank you for your feedback!',
// @ts-ignore
onFormOpen: () => umami?.track('Feedback Open'),
// @ts-ignore
onSubmitSuccess: () => umami?.track('Feedback Send'),
// @ts-ignore
onSubmitError: () => umami?.track('Feedback Error'),
}),
],
replaysSessionSampleRate: 1.0,
Expand Down

0 comments on commit 9b27c62

Please sign in to comment.