Skip to content

Commit ed5698a

Browse files
authored
Merge pull request #28468 from guardian/doml/onward-journeys-test
Create 0% onwards journey AB test
2 parents 9db3eef + f8295b3 commit ed5698a

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

common/app/conf/switches/ABTestSwitches.scala

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,15 @@ trait ABTestSwitches {
2626
exposeClientSide = true,
2727
highImpact = false,
2828
)
29+
30+
Switch(
31+
ABTests,
32+
"ab-onward-journeys",
33+
"Testing the new gallery Onward Journey component on all articles",
34+
owners = Seq(Owner.withEmail("[email protected]")),
35+
safeState = Off,
36+
sellByDate = Some(LocalDate.of(2026, 7, 23)),
37+
exposeClientSide = true,
38+
highImpact = false,
39+
)
2940
}

static/src/javascripts/projects/common/modules/experiments/ab-tests.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { ABTest } from '@guardian/ab-core';
22
import { auxiaSignInGate } from './tests/auxia-sign-in-gate';
3+
import { onwardJourneys } from './tests/onward-jouneys';
34
import { remoteRRHeaderLinksTest } from './tests/remote-header-test';
45
import { signInGateMainControl } from './tests/sign-in-gate-main-control';
56
import { signInGateMainVariant } from './tests/sign-in-gate-main-variant';
@@ -11,4 +12,5 @@ export const concurrentTests: readonly ABTest[] = [
1112
signInGateMainControl,
1213
remoteRRHeaderLinksTest,
1314
auxiaSignInGate,
15+
onwardJourneys,
1416
];
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
export const onwardJourneys = {
2+
id: 'OnwardJourneys',
3+
start: '2025-12-11',
4+
expiry: '2026-07-23',
5+
author: '[email protected]',
6+
description: 'Testing the new Onward Journey component on all articles',
7+
audience: 0 / 100,
8+
audienceOffset: 0 / 100,
9+
successMeasure: 'Higher click-through rate',
10+
audienceCriteria: 'All articles on web (excludes apps)',
11+
showForSensitive: true,
12+
canRun: () => true,
13+
variants: [
14+
{
15+
id: 'control',
16+
test: () => {},
17+
},
18+
{
19+
id: 'variant',
20+
test: () => {},
21+
},
22+
],
23+
};

0 commit comments

Comments
 (0)