Skip to content

Commit

Permalink
Merge pull request #27632 from guardian/doml/onward-ab-test
Browse files Browse the repository at this point in the history
Add onwards content article test
  • Loading branch information
domlander authored Nov 21, 2024
2 parents 862b548 + 8202c3b commit 1464a8e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
13 changes: 12 additions & 1 deletion common/app/conf/switches/ABTestSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,18 @@ trait ABTestSwitches {
"Test the impact of showing the user a component that highlights the Guardians journalism",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = Some(LocalDate.of(2024, 12, 18)),
sellByDate = Some(LocalDate.of(2025, 1, 29)),
exposeClientSide = true,
highImpact = false,
)

Switch(
ABTests,
"ab-onwards-content-article",
"Test the impact of showing the galleries onwards content component on article pages",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = Some(LocalDate.of(2025, 1, 29)),
exposeClientSide = true,
highImpact = false,
)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
export const onwardsContentArticle = {
id: 'onwardsContentArticle',
start: '2024-11-25',
expiry: '2025-01-29',
author: '[email protected]',
description:
'Test the impact of showing the galleries onwards content component on article pages.',
audience: 0 / 100,
audienceOffset: 0 / 100,
audienceCriteria: 'Article pages',
successMeasure:
'Users are more likely to click a link in the onward content component.',
canRun: () => true,
variants: [
{
id: 'control',
test: () => {},
},
{
id: 'variant',
test: () => {},
},
],
};

0 comments on commit 1464a8e

Please sign in to comment.