Skip to content

Commit fb3dc62

Browse files
authored
Merge pull request #14318 from guardian/ash/add-one-tap-experiment
feat: Add Google One Tap experiment
2 parents 8c16a18 + 922bb64 commit fb3dc62

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

dotcom-rendering/src/experiments/ab-tests.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { ABTest } from '@guardian/ab-core';
22
import { abTestTest } from './tests/ab-test-test';
33
import { auxiaSignInGate } from './tests/auxia-sign-in-gate';
4+
import { googleOneTap } from './tests/google-one-tap';
45
import { signInGateMainControl } from './tests/sign-in-gate-main-control';
56
import { signInGateMainVariant } from './tests/sign-in-gate-main-variant';
67
import { userBenefitsApi } from './tests/user-benefits-api';
@@ -13,4 +14,5 @@ export const tests: ABTest[] = [
1314
signInGateMainControl,
1415
userBenefitsApi,
1516
auxiaSignInGate,
17+
googleOneTap,
1618
];
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import type { ABTest } from '@guardian/ab-core';
2+
3+
export const googleOneTap: ABTest = {
4+
id: 'GoogleOneTap',
5+
start: '2025-07-30',
6+
expiry: '2025-12-01',
7+
author: 'Ash (Identity & Trust)',
8+
description:
9+
'This test is being used to prototype and roll out single sign-on with Google One Tap.',
10+
audience: 0,
11+
audienceOffset: 0,
12+
successMeasure:
13+
'There are no new client side errors and the users are able to sign in with Google One Tap',
14+
audienceCriteria: 'Signed-out Chrome Users on Fronts',
15+
idealOutcome:
16+
'Increased sign in conversion rate for users who have Google accounts and Chrome',
17+
showForSensitive: false,
18+
canRun: () => true,
19+
variants: [
20+
{
21+
id: 'variant',
22+
test: (): void => {},
23+
},
24+
],
25+
};

0 commit comments

Comments
 (0)