From 83eee3c3b25eeea1804e499c21064a743fddc21a Mon Sep 17 00:00:00 2001 From: brainbicycle Date: Mon, 18 May 2026 15:28:07 -0300 Subject: [PATCH 1/2] add one-tap auth trigger and context page path for capturing auth path --- src/Schema/Events/Authentication.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Schema/Events/Authentication.ts b/src/Schema/Events/Authentication.ts index 03ed236b..bb2b91d6 100644 --- a/src/Schema/Events/Authentication.ts +++ b/src/Schema/Events/Authentication.ts @@ -48,6 +48,7 @@ export interface AuthImpression { * action: "createdAccount", * auth_redirect: "https://artsy.net/artist/andy-warhol", * context_module: "popUpModal", + * context_page_path: "/artist/andy-warhol", * intent: "viewArtist", * modal_copy: "Sign up to follow artists", * onboarding: true, @@ -63,6 +64,7 @@ export interface CreatedAccount { action: ActionType.createdAccount auth_redirect: string context_module: AuthContextModule + context_page_path?: string intent: AuthIntent modal_copy?: string onboarding: boolean @@ -116,6 +118,7 @@ export interface ResetYourPassword { * action: "successfullyLoggedIn", * auth_redirect: "https://artsy.net/artist/andy-warhol", * context_module: "popUpModal", + * context_page_path: "/artist/andy-warhol", * intent: "viewArtist", * modal_copy: "Sign up to follow artists", * service: "email", @@ -130,6 +133,7 @@ export interface SuccessfullyLoggedIn { action: ActionType.successfullyLoggedIn auth_redirect: string context_module: AuthContextModule + context_page_path?: string intent: AuthIntent modal_copy?: string service: AuthService @@ -156,7 +160,7 @@ export enum AuthModalType { /** * The type of action that opened the authentication modal */ -export type AuthTrigger = "click" | "tap" | "timed" | "scroll" +export type AuthTrigger = "click" | "tap" | "timed" | "scroll" | "one-tap" /** * the service the user used to authenticate From 964559ee6e5fc22d9be0417f5e30775c0d86f510 Mon Sep 17 00:00:00 2001 From: brainbicycle Date: Mon, 18 May 2026 16:11:15 -0300 Subject: [PATCH 2/2] remove context page path change --- src/Schema/Events/Authentication.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Schema/Events/Authentication.ts b/src/Schema/Events/Authentication.ts index bb2b91d6..3f1f4f2d 100644 --- a/src/Schema/Events/Authentication.ts +++ b/src/Schema/Events/Authentication.ts @@ -48,7 +48,6 @@ export interface AuthImpression { * action: "createdAccount", * auth_redirect: "https://artsy.net/artist/andy-warhol", * context_module: "popUpModal", - * context_page_path: "/artist/andy-warhol", * intent: "viewArtist", * modal_copy: "Sign up to follow artists", * onboarding: true, @@ -64,7 +63,6 @@ export interface CreatedAccount { action: ActionType.createdAccount auth_redirect: string context_module: AuthContextModule - context_page_path?: string intent: AuthIntent modal_copy?: string onboarding: boolean @@ -118,7 +116,6 @@ export interface ResetYourPassword { * action: "successfullyLoggedIn", * auth_redirect: "https://artsy.net/artist/andy-warhol", * context_module: "popUpModal", - * context_page_path: "/artist/andy-warhol", * intent: "viewArtist", * modal_copy: "Sign up to follow artists", * service: "email", @@ -133,7 +130,6 @@ export interface SuccessfullyLoggedIn { action: ActionType.successfullyLoggedIn auth_redirect: string context_module: AuthContextModule - context_page_path?: string intent: AuthIntent modal_copy?: string service: AuthService