Skip to content

Commit 4f48f18

Browse files
authored
Add mobile sticky test (#15474)
* adds AB test for new mobile-sticky logic (10% with two groups: variant/control) * installs version of libs package which adds a function to the commercial queue which dispatches an event when the CMP is dismissed
1 parent b322815 commit 4f48f18

File tree

3 files changed

+44
-31
lines changed

3 files changed

+44
-31
lines changed

ab-testing/config/abTests.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,19 @@ const ABTests: ABTest[] = [
145145
groups: ["control", "variant"],
146146
shouldForceMetricsCollection: false,
147147
},
148+
{
149+
name: "commercial-mobile-sticky",
150+
description:
151+
"Testing restricting launch of the mobile-sticky to certain conditions",
152+
owners: ["commercial.dev@guardian.co.uk"],
153+
expirationDate: "2026-03-31",
154+
type: "client",
155+
status: "ON",
156+
audienceSize: 10 / 100,
157+
audienceSpace: "A",
158+
groups: ["control", "variant"],
159+
shouldForceMetricsCollection: false,
160+
},
148161
];
149162

150163
const activeABtests = ABTests.filter((test) => test.status === "ON");

dotcom-rendering/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@guardian/eslint-config-typescript": "12.0.0",
3838
"@guardian/identity-auth": "6.0.1",
3939
"@guardian/identity-auth-frontend": "8.1.0",
40-
"@guardian/libs": "28.0.0",
40+
"@guardian/libs": "30.1.0",
4141
"@guardian/ophan-tracker-js": "2.8.0",
4242
"@guardian/react-crossword": "11.1.0",
4343
"@guardian/shimport": "1.0.2",

pnpm-lock.yaml

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)