|
| 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