Skip to content

Commit

Permalink
Add onwards journey test with one control and 3 variants
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed May 7, 2024
1 parent 94957cc commit cc04a56
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotcom-rendering/src/experiments/ab-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { adBlockAsk } from './tests/ad-block-ask';
import { consentlessAds } from './tests/consentless-ads';
import { integrateIma } from './tests/integrate-ima';
import { mpuWhenNoEpic } from './tests/mpu-when-no-epic';
import { onwardJourneys } from './tests/onward-journeys';
import { signInGateAlternativeWording } from './tests/sign-in-gate-alternative-wording';
import { signInGateMainControl } from './tests/sign-in-gate-main-control';
import { signInGateMainVariant } from './tests/sign-in-gate-main-variant';
Expand All @@ -19,4 +20,5 @@ export const tests: ABTest[] = [
integrateIma,
mpuWhenNoEpic,
adBlockAsk,
onwardJourneys,
];
37 changes: 37 additions & 0 deletions dotcom-rendering/src/experiments/tests/onward-journeys.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import type { ABTest } from '@guardian/ab-core';

export const onwardJourneys: ABTest = {
id: 'OnwardJourneys',
start: '2025-03-01', // update once test is ready to go live
expiry: '2025-12-01', // update once test is ready to go live
author: '@web-experience',
description:
'Show the user one onward journey containers at a time to see which is the most effective',
audience: 25 / 100,
audienceOffset: 0,
audienceCriteria: 'all users',
dataLinkNames: 'OnwardJourneys',
idealOutcome:
'Determine which combination of onward journey containers is the most effective',
showForSensitive: true,
canRun: () => true,
variants: [
{
id: 'control',
test: (): void => {},
},
{
id: 'variant-1',
test: (): void => {},
},
{
id: 'variant-2',
test: (): void => {},
},
{
id: 'variant-3',
test: (): void => {},
},
],
successMeasure: '',
};

0 comments on commit cc04a56

Please sign in to comment.