Skip to content

Commit f4c0ad3

Browse files
authored
Merge pull request #1419 from guardian/ph-20250823-0200-prelude
[sign-in gate] logic.md
2 parents 772c1fd + 6496427 commit f4c0ad3

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

src/server/signin-gate/logic.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
## SignIn Gate Logic
2+
3+
This file contains the source of truth of the signin gate behavior. These are the specs that the tests must be written against.
4+
5+
### Special Cases
6+
7+
See code for details
8+
9+
### World without Ireland
10+
11+
No gate display the first 3 page views
12+
13+
nb: the numbers, for instance, [01], uniquely identify the experience for the code and the tests
14+
15+
```
16+
|
17+
Auxia share of the Audience | Guardian share of the Audience
18+
35% | 65%
19+
---------------------------------------------------------------------------------------------
20+
| [01] | [02] |
21+
| | |
22+
| - No Auxia notification | - No Auxia notification |
23+
un-consented | - Guardian drives the gate: | - Guardian drives the gate: |
24+
| - No gate display the first 3 page views | - No gate display the first 3 page views |
25+
| - Gate: dismissible gates, | - Gate: dismissible gates |
26+
| then no gate after 5 dismisses | then no gate after 5 dismisses |
27+
| | |
28+
-----------|-----------------------------------------------------------------------------------------------------
29+
| [03] | [04] |
30+
| | |
31+
| - Auxia drives the gate | - No Auxia notification |
32+
consented | | - Guardian drivess the gate: |
33+
| | - No gate display the first 3 page views |
34+
| | - Gate: dismissible gates |
35+
| | then no gate after 5 dismisses |
36+
| | |
37+
---------------------------------------------------------------------------------------------
38+
|
39+
|
40+
```
41+
42+
### Ireland
43+
44+
```
45+
|
46+
Auxia share of the Audience | Guardian share of the Audience
47+
35% | 65%
48+
---------------------------------------------------------------------------------------------
49+
| [05] | [06] |
50+
| | |
51+
| - Notify Auxia for analytics | - Notify Auxia for analytics |
52+
un-consented | - Guardian drives the gate: | - Guardian drives the gate: |
53+
| - No gate display the first 3 page views | - No gate display the first 3 page views |
54+
| - Gate: 3x dismissal, then mandatory | - Gate: 3x dismissal, then mandatory |
55+
| | |
56+
-----------|-----------------------------------------------------------------------------------------------------
57+
| [07] | [08] |
58+
| | |
59+
| - Auxia drives the gate | - No Auxia notification |
60+
consented | | - Guardian drives the gate: |
61+
| | - No gate display the first 3 page views |
62+
| | - Gate: dismissible gates |
63+
| | then no gate after 5 dismisses |
64+
| | |
65+
---------------------------------------------------------------------------------------------
66+
|
67+
|
68+
```

0 commit comments

Comments
 (0)