From 5712372e10a25a42b8d39b13c295803ee7b9898d Mon Sep 17 00:00:00 2001 From: Zara Khan Date: Thu, 14 May 2026 14:19:12 +0100 Subject: [PATCH 1/2] Removed auxia control group ab test --- dotcom-rendering/src/components/SignInGate/types.ts | 1 - .../src/components/StickyBottomBanner.island.tsx | 9 +-------- .../components/StickyBottomBanner/SignInGatePortal.tsx | 3 --- dotcom-rendering/src/lib/auxia.ts | 4 ---- 4 files changed, 1 insertion(+), 16 deletions(-) diff --git a/dotcom-rendering/src/components/SignInGate/types.ts b/dotcom-rendering/src/components/SignInGate/types.ts index 185cc9f3943..ad269ce62d2 100644 --- a/dotcom-rendering/src/components/SignInGate/types.ts +++ b/dotcom-rendering/src/components/SignInGate/types.ts @@ -137,7 +137,6 @@ export interface AuxiaProxyGetTreatmentsPayload { showDefaultGate: ShowGateValues; // [3] gateDisplayCount: number; hideSupportMessagingTimestamp: number | undefined; // [4] - isInAuxiaControlGroup: boolean; } // [1] diff --git a/dotcom-rendering/src/components/StickyBottomBanner.island.tsx b/dotcom-rendering/src/components/StickyBottomBanner.island.tsx index 17edbd4a736..fc36dcb0d06 100644 --- a/dotcom-rendering/src/components/StickyBottomBanner.island.tsx +++ b/dotcom-rendering/src/components/StickyBottomBanner.island.tsx @@ -19,7 +19,7 @@ import type { SlotConfig, } from '../lib/messagePicker'; import { pickMessage } from '../lib/messagePicker'; -import { useAB, useBetaAB } from '../lib/useAB'; +import { useBetaAB } from '../lib/useAB'; import { useIsSignedIn } from '../lib/useAuthStatus'; import { useBraze } from '../lib/useBraze'; import { useCountryCode } from '../lib/useCountryCode'; @@ -278,12 +278,7 @@ export const StickyBottomBanner = ({ const countryCode = useCountryCode('sticky-bottom-banner'); const isSignedIn = useIsSignedIn(); const ophanPageViewId = usePageViewId(renderingTarget); - const abTestAPI = useAB()?.api; const abTests = useBetaAB(); - const isInAuxiaControlGroup = !!abTestAPI?.isUserInVariant( - 'NoAuxiaSignInGate', - 'control', - ); const inAuxiaVariant = abTests?.isUserInTestGroup('growth-auxia-banner', 'variant') ?? false; @@ -369,7 +364,6 @@ export const StickyBottomBanner = ({ pageId, contributionsServiceUrl, editionId, - isInAuxiaControlGroup, }, host, ); @@ -436,7 +430,6 @@ export const StickyBottomBanner = ({ ophanPageViewId, pageId, host, - isInAuxiaControlGroup, braze, abTests, inAuxiaVariant, diff --git a/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.tsx b/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.tsx index fd1924edcb3..48b00dffb0e 100644 --- a/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.tsx +++ b/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.tsx @@ -146,7 +146,6 @@ export interface CanShowSignInGateProps { isPreview: boolean; pageId: string; contributionsServiceUrl: string; - isInAuxiaControlGroup: boolean; editionId?: EditionId; contentType?: string; sectionId?: string; @@ -158,7 +157,6 @@ export const canShowSignInGatePortal = async ({ isPreview, pageId, contributionsServiceUrl, - isInAuxiaControlGroup, editionId, contentType, sectionId, @@ -203,7 +201,6 @@ export const canShowSignInGatePortal = async ({ sectionId, tags, retrieveLastGateDismissedCount('AuxiaSignInGate'), - isInAuxiaControlGroup, ); return { diff --git a/dotcom-rendering/src/lib/auxia.ts b/dotcom-rendering/src/lib/auxia.ts index 29e8d733062..50d5f536c7f 100644 --- a/dotcom-rendering/src/lib/auxia.ts +++ b/dotcom-rendering/src/lib/auxia.ts @@ -125,7 +125,6 @@ const fetchProxyGetTreatments = async ( showDefaultGate: ShowGateValues, gateDisplayCount: number, hideSupportMessagingTimestamp: number | undefined, - isInAuxiaControlGroup: boolean, ): Promise => { const articleIdentifier = `www.theguardian.com/${pageId}`; const url = `${contributionsServiceUrl}/auxia/get-treatments`; @@ -148,7 +147,6 @@ const fetchProxyGetTreatments = async ( showDefaultGate, gateDisplayCount, hideSupportMessagingTimestamp, - isInAuxiaControlGroup, }; const params = { method: 'POST', headers, body: JSON.stringify(payload) }; @@ -217,7 +215,6 @@ export const buildAuxiaGateDisplayData = async ( sectionId: string, tags: TagType[], gateDismissCount: number, - isInAuxiaControlGroup: boolean, ): Promise => { const readerPersonalData = await decideAuxiaProxyReaderPersonalData(); const tagIds = tags.map((tag) => tag.id); @@ -245,7 +242,6 @@ export const buildAuxiaGateDisplayData = async ( showDefaultGate, gateDisplayCount, hideSupportMessagingTimestamp, - isInAuxiaControlGroup, ); if (response.status && response.data) { From 313a01cc3e9f39cde774c243d9eb1480cfa69008 Mon Sep 17 00:00:00 2001 From: Zara Khan Date: Thu, 14 May 2026 14:22:22 +0100 Subject: [PATCH 2/2] Fixed test --- .../src/components/StickyBottomBanner/SignInGatePortal.test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.test.tsx b/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.test.tsx index fdc4b1f244c..51f1ba06ae5 100644 --- a/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.test.tsx +++ b/dotcom-rendering/src/components/StickyBottomBanner/SignInGatePortal.test.tsx @@ -22,7 +22,6 @@ const canShowProps: CanShowSignInGateProps = { isPreview: false, pageId: 'page-id', contributionsServiceUrl: 'https://contributions.local', - isInAuxiaControlGroup: false, editionId: 'UK', contentType: 'Article', sectionId: 'section',