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 89bdc8b commit 5475feeCopy full SHA for 5475fee
dotcom-rendering/src/components/SignInGateSelector.importable.tsx
@@ -706,6 +706,25 @@ const SignInGateSelectorAuxia = ({
706
);
707
if (data !== undefined) {
708
setAuxiaGateDisplayData(data);
709
+
710
+ const treatmentId =
711
+ data.auxiaData.userTreatment?.treatmentId;
712
+ if (treatmentId) {
713
+ // Record the fact that Auxia has returned a treatment. This is not a VIEW event, so we use the RETURN action here
714
+ await submitComponentEventTracking(
715
+ {
716
+ component: {
717
+ componentType: 'SIGN_IN_GATE',
718
+ id: treatmentId,
719
+ },
720
+ action: 'RETURN',
721
+ abTest: buildAbTestTrackingAuxiaVariant(
722
+ treatmentId,
723
+ ),
724
725
+ renderingTarget,
726
+ );
727
+ }
728
}
729
730
})().catch((error) => {
0 commit comments