Skip to content

Commit b6342e1

Browse files
Update bootCmp.ts
1 parent 2be4931 commit b6342e1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

dotcom-rendering/src/client/bootCmp.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,9 @@ const initialiseCmp = async () => {
6565
// If user has the "reject all" benefit then show the reduced, "non-advertised" list
6666
const useNonAdvertisedList = allowRejectAll(isUserSignedIn);
6767

68-
const isInSourcepointGeolocationTestCookie = getCookie({
69-
name: 'X-GU-Experiment-0perc-B',
70-
}); // Get cookie
7168
const isInSourcepointGeolocationTest =
72-
isInSourcepointGeolocationTestCookie !== null
73-
? Boolean(isInSourcepointGeolocationTestCookie)
74-
: false;
69+
window.guardian.config.tests['consentGeolocationTestVariant'] ===
70+
'variant';
7571

7672
const country = code ?? undefined;
7773
cmp.init({

0 commit comments

Comments
 (0)