We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6351e4b commit 9a82379Copy full SHA for 9a82379
src/constants/analytics.ts
@@ -205,6 +205,7 @@ export const AnalyticsEvents = unionize(
205
TurnkeyLoginInitiated: ofType<{
206
signinMethod: 'email' | 'google' | 'apple';
207
}>(),
208
+ TurnkeyLoginEmailToken: ofType<{}>(),
209
TurnkeyLoginError: ofType<{
210
211
error: string;
src/providers/TurnkeyAuthProvider.tsx
@@ -507,6 +507,7 @@ const useTurnkeyAuthContext = () => {
507
authIframeClient &&
508
emailSignInStatus === 'idle'
509
) {
510
+ track(AnalyticsEvents.TurnkeyLoginEmailToken({}));
511
logBonsaiInfo('TurnkeyOnboarding', 'Attempting to handle email magic link');
512
handleEmailMagicLink({ token: emailToken });
513
}
0 commit comments