Skip to content

Commit 4899bcc

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

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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: 'This test is being used to prototype and roll out single sign-on with Google One Tap.',
9+
audience: 0,
10+
audienceOffset: 0,
11+
successMeasure: 'There are no new client side errors and the users are able to sign in with Google One Tap',
12+
audienceCriteria: 'Signed-out Chrome Users on Fronts',
13+
idealOutcome: 'Increased sign in conversion rate for users who have Google accounts and Chrome',
14+
showForSensitive: false,
15+
canRun: () => true,
16+
variants: [
17+
{
18+
id: 'google-one-tap',
19+
test: () => {},
20+
},
21+
],
22+
};
23+

0 commit comments

Comments
 (0)