From 38c2b385e6c18f17e0708195ffb3cbf652d9af8a Mon Sep 17 00:00:00 2001 From: Akinsola Lawanson Date: Tue, 30 Jun 2026 09:45:53 +0100 Subject: [PATCH] Add AB-Test for US Consent banner. --- ab-testing/config/abTests.ts | 13 +++++++++++++ ab-testing/config/types.ts | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ab-testing/config/abTests.ts b/ab-testing/config/abTests.ts index ec15cda3d26..2fdf2f2d31b 100644 --- a/ab-testing/config/abTests.ts +++ b/ab-testing/config/abTests.ts @@ -206,6 +206,19 @@ const ABTests: ABTest[] = [ groups: ["enable"], shouldForceMetricsCollection: false, }, + { + name: "identity-and-trust-consent-banner-us", + description: + "Test to measure the impact of showing different US consent banners for US users", + owners: ["identitydev@theguardian.com"], + status: "ON", + expirationDate: "2027-01-01", + type: "client", + audienceSize: 0 / 100, + audienceSpace: "A", + groups: ["control", "variant-1", "variant-2"], + shouldForceMetricsCollection: false, + }, ]; const activeABtests = ABTests.filter((test) => test.status === "ON"); diff --git a/ab-testing/config/types.ts b/ab-testing/config/types.ts index bfbd0fcbd78..b7bc64ad1b9 100644 --- a/ab-testing/config/types.ts +++ b/ab-testing/config/types.ts @@ -14,7 +14,8 @@ type Team = | "fronts-and-curation" | "growth" | "feast" - | "martech"; + | "martech" + | "identity-and-trust"; type TestName = `${Team}-${string}`;