Skip to content

Commit 830db1e

Browse files
authored
Merge pull request #13385 from guardian/ph-20250214-0916-logi
auxia experiment: Add missing PRIVACY-BUTTON logTreatmentInteractionCall
2 parents f35c970 + bdcf262 commit 830db1e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

dotcom-rendering/src/components/SignInGate/gateDesigns/SignInGateAuxia.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ export const SignInGateAuxia = ({
7575
renderingTarget,
7676
abTest,
7777
);
78+
logTreatmentInteractionCall(
79+
'CLICKED',
80+
'PRIVACY-BUTTON',
81+
).catch((error) => {
82+
console.error(
83+
'Failed to log treatment interaction:',
84+
error,
85+
);
86+
});
7887
}}
7988
>
8089
privacy settings

dotcom-rendering/src/components/SignInGate/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export type AuxiaInteractionInteractionType =
125125
| 'DISMISSED';
126126

127127
export type AuxiaInteractionActionName =
128+
| 'PRIVACY-BUTTON'
128129
| 'REGISTER-LINK'
129130
| 'SIGN-IN-LINK'
130131
| 'HOW-TO-LINK'

0 commit comments

Comments
 (0)