-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
89 lines (86 loc) · 2.32 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
const CHECKPOINTS = {
signup_start: 'signup_start',
paid_signup_options_modal_shown: 'paid_signup_options_modal_shown',
paid_signup_clicked_blocktrades: 'paid_signup_clicked_blocktrades',
paid_signup_clicked_anonsteem: 'paid_signup_clicked_anonsteem',
paid_signup_clicked_dpayid: 'paid_signup_clicked_dpayid',
free_signup_chosen: 'free_signup_chosen',
username_chosen: 'username_chosen',
email_submitted: 'email_submitted',
email_verified: 'email_verified',
phone_submitted: 'phone_submitted',
phone_verified: 'phone_verified',
creation_started: 'creation_started',
password_chosen: 'password_chosen',
account_created: 'account_created',
};
const checkpoints = [
{
human: 'Landed on signup page',
symbol: CHECKPOINTS.signup_start,
},
{
human: 'Pressed "Pay to sign up"',
symbol: CHECKPOINTS.paid_signup_options_modal_shown,
},
{
human: 'Clicked blocktrades',
symbol: CHECKPOINTS.paid_signup_clicked_blocktrades,
},
{
human: 'Clicked anonsteem',
symbol: CHECKPOINTS.paid_signup_clicked_anonsteem,
},
{
human: 'Clicked dpayid',
symbol: CHECKPOINTS.paid_signup_clicked_dpayid,
},
{
human: 'Pressed "Sign up for free"',
symbol: CHECKPOINTS.free_signup_chosen,
},
{
human: 'Entered a username',
symbol: CHECKPOINTS.username_chosen,
},
{
human: 'Entered a valid email',
symbol: CHECKPOINTS.email_submitted,
},
//{
// human: 'Passed any reCAPTCHA test',
// symbol: false,
//},
{
human: 'Verified email address',
symbol: CHECKPOINTS.email_verified,
},
{
human: 'Phone number entered',
symbol: CHECKPOINTS.phone_submitted,
},
{
human: 'Verified phone number',
symbol: CHECKPOINTS.phone_verified,
},
{
human: 'Account approved',
symbol: CHECKPOINTS.creation_started,
},
//{
// human: 'Accepted / copied new password',
// symbol: false,
//},
{
human: 'Confirmed new password',
symbol: CHECKPOINTS.password_chosen,
},
{
human: 'Account created',
symbol: CHECKPOINTS.account_created,
},
];
module.exports = {
CHECKPOINTS,
checkpoints,
};