Skip to content

Commit 9db6ade

Browse files
authored
Merge pull request #14325 from guardian/ph-20250731-1412-investigation-p3
[sign in gate] investigation log (2)
2 parents 1f7292e + 1494f6e commit 9db6ade

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

dotcom-rendering/src/components/SignInGate/displayRules.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export const isNPageOrHigherPageView = (n = 2): boolean => {
1414

1515
const { count = 0 } = dailyCount;
1616

17+
console.log(`counter inside isNPageOrHigherPageView: ${count}`);
18+
1719
return count >= n;
1820
};
1921

dotcom-rendering/src/components/SignInGateSelector.importable.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,11 @@ const buildAuxiaGateDisplayData = async (
397397
const readerPersonalData = await decideAuxiaProxyReaderPersonalData();
398398
const tagIds = tags.map((tag) => tag.id);
399399

400+
let mvtId = readerPersonalData.mvtId;
401+
if (decideShouldEnforceLocalLogic()) {
402+
mvtId = 350001; // to be outside the Auxia share of the Audience
403+
}
404+
400405
let should_show_legacy_gate_tmp;
401406

402407
if (!decideShouldEnforceLocalLogic() && isAuxiaAudience) {
@@ -434,7 +439,7 @@ const buildAuxiaGateDisplayData = async (
434439
tagIds,
435440
gateDismissCount,
436441
readerPersonalData.countryCode,
437-
readerPersonalData.mvtId,
442+
mvtId,
438443
should_show_legacy_gate_tmp,
439444
readerPersonalData.hasConsented,
440445
shouldServeDismissible,

0 commit comments

Comments
 (0)