We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2be4931 commit b6342e1Copy full SHA for b6342e1
dotcom-rendering/src/client/bootCmp.ts
@@ -65,13 +65,9 @@ const initialiseCmp = async () => {
65
// If user has the "reject all" benefit then show the reduced, "non-advertised" list
66
const useNonAdvertisedList = allowRejectAll(isUserSignedIn);
67
68
- const isInSourcepointGeolocationTestCookie = getCookie({
69
- name: 'X-GU-Experiment-0perc-B',
70
- }); // Get cookie
71
const isInSourcepointGeolocationTest =
72
- isInSourcepointGeolocationTestCookie !== null
73
- ? Boolean(isInSourcepointGeolocationTestCookie)
74
- : false;
+ window.guardian.config.tests['consentGeolocationTestVariant'] ===
+ 'variant';
75
76
const country = code ?? undefined;
77
cmp.init({
0 commit comments