Skip to content

Commit

Permalink
Merge pull request #27512 from guardian/doml/us-why-the-guardian-tag-…
Browse files Browse the repository at this point in the history
…link-switch

Add 0% client side test for US big events
  • Loading branch information
domlander authored Oct 3, 2024
2 parents 558c238 + 3901fee commit 774f5a2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/app/conf/switches/ABTestSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,14 @@ trait ABTestSwitches {
sellByDate = Some(LocalDate.of(2024, 10, 30)),
exposeClientSide = true,
)

Switch(
ABTests,
"ab-us-big-events",
"Test revenue impact of using shared id in prebid",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
sellByDate = Some(LocalDate.of(2024, 12, 18)),
exposeClientSide = true,
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import type { ABTest } from '@guardian/ab-core';
import { remoteRRHeaderLinksTest } from './tests/remote-header-test';
import { signInGateMainControl } from './tests/sign-in-gate-main-control';
import { signInGateMainVariant } from './tests/sign-in-gate-main-variant';
import { usBigEvents } from './tests/us-big-events';

// keep in sync with ab-tests in dotcom-rendering
// https://github.com/guardian/dotcom-rendering/blob/main/dotcom-rendering/src/web/experiments/ab-tests.ts
export const concurrentTests: readonly ABTest[] = [
signInGateMainVariant,
signInGateMainControl,
remoteRRHeaderLinksTest,
usBigEvents,
];
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
export const usBigEvents = {
id: 'UsBigEvents',
start: '2024-10-02',
expiry: '2024-12-18',
author: '[email protected]',
description:
'Test the impact of showing the user a component that highlights the Guardians journalism.',
audience: 0,
audienceOffset: 0,
audienceCriteria: 'US-based users that see the US edition.',
successMeasure: 'Users are more likely to engage with the site.',
canRun: () => true,
variants: [
{
id: 'control',
test: () => {},
},
{
id: 'variant',
test: () => {},
},
],
};

0 comments on commit 774f5a2

Please sign in to comment.