Skip to content

Commit 1111d85

Browse files
committed
ensure 3rd page view gate display for non auxia audiences
1 parent 62823b6 commit 1111d85

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,17 @@ const buildAuxiaGateDisplayData = async (
381381
false,
382382
false,
383383
);
384+
385+
// Date: 32rd July 2025
386+
// Here we implement another rule:
387+
// If readerPersonalData.dailyArticleCount is 3, then we should show
388+
// the gate, regardless of the previous value. Note that we implement
389+
// this rule, here because the main logic for deciding gate showing in the
390+
// case of a non Auxia audience page view is still client side.
391+
// (This is going to change soon)
392+
if (readerPersonalData.dailyArticleCount === 3) {
393+
should_show_legacy_gate_tmp = true;
394+
}
384395
}
385396

386397
const shouldNotServeMandatory = decideShouldNotServeMandatory();

0 commit comments

Comments
 (0)