Skip to content

Commit a76eb14

Browse files
committed
feat: Add Google One Tap experiment
1 parent 3fbb586 commit a76eb14

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
@@ -4,6 +4,7 @@ import { auxiaSignInGate } from './tests/auxia-sign-in-gate';
44
import { signInGateMainControl } from './tests/sign-in-gate-main-control';
55
import { signInGateMainVariant } from './tests/sign-in-gate-main-variant';
66
import { userBenefitsApi } from './tests/user-benefits-api';
7+
import { googleOneTap } from './tests/google-one-tap';
78

89
// keep in sync with ab-tests in frontend
910
// https://github.com/guardian/frontend/tree/main/static/src/javascripts/projects/common/modules/experiments/ab-tests.ts
@@ -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: 'google-one-tap',
22+
test: () => {},
23+
},
24+
],
25+
};

0 commit comments

Comments
 (0)