Skip to content

Commit

Permalink
fux: send event opt out from button deny
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Jan 2, 2025
1 parent 33bb35c commit ff1f701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/containers/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ const BaseLayout = () => {
if (isAllowed) {
posthog.opt_in_capturing()
} else {
posthog.capture('user_opt_out', { timestamp: new Date() })
posthog.opt_out_capturing()
}
}
Expand Down

0 comments on commit ff1f701

Please sign in to comment.