Skip to content

Commit 569088e

Browse files
authored
Update user.md
1 parent 54995b9 commit 569088e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

documentation/user.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,61 +6,61 @@ Breinify supports various user properties that you can include in the analytics.
66

77
```javascript
88
var user = {
9-
'EMAIL':'johndoe@gmail.com',
10-
'FIRSTNAME':'John',
11-
'LASTNAME':'Doe',
12-
'DATEOFBIRTH': new Date(1985,6,30),
13-
'DEVICEID' : 'AAAAAAAAA-BBBB-CCCC-1111-222222220000',
14-
'MD5EMAIL' : '761cd16b141770ecb0bbb8a4e5962d16',
15-
'SESSIONID' : 'SID:ANON:w3.org:j6oAOxCWZ'
9+
'email' : 'johndoe@gmail.com',
10+
'firstName' : 'John',
11+
'lastName' : 'Doe',
12+
'dateOfBirth' : new Date(1985,6,30),
13+
'deviceId' : 'AAAAAAAAA-BBBB-CCCC-1111-222222220000',
14+
'md5Email' : '761cd16b141770ecb0bbb8a4e5962d16',
15+
'sessionId' : 'SID:ANON:w3.org:j6oAOxCWZ'
1616
}
1717
```
1818

1919
### Fields
2020

2121
#### Email
2222

23-
Attribute key: `EMAIL`
23+
Attribute key: `email`
2424

2525
Example value: `johndoe@gmail.com`
2626

2727
Description: The email address of the current user, if known.
2828

2929
#### First Name
3030

31-
Attribute key: `FIRSTNAME`
31+
Attribute key: `firstName`
3232

3333
Example value: `John`
3434

3535
Description: The first name of the current user, if known.
3636

3737
#### Last Name
3838

39-
Attribute String: `LASTNAME`
39+
Attribute String: `lastName`
4040

4141
Example: `Doe`
4242

4343
Description: The last name of the current user, if known.
4444

4545
#### Date of Birth
4646

47-
Attribute key: `DATEOFBIRTH`
47+
Attribute key: `dateOfBirth`
4848

4949
Example value: `new Date(1985, 6, 30)`
5050

5151
Description: The email address of the current user, if known.
5252

5353
#### Device ID
5454

55-
Attribute key: `DEVICEID`
55+
Attribute key: `deviceId`
5656

5757
Example value: `AAAAAAAAA-BBBB-CCCC-1111-222222220000`
5858

5959
Description: The current user's device's id, if known.
6060

6161
#### MD5 Email
6262

63-
Attribute key: `MD5EMAIL`
63+
Attribute key: `md5Email`
6464

6565
Example value: `761cd16b141770ecb0bbb8a4e5962d16`
6666

@@ -69,7 +69,7 @@ Description: A hashed version of the user's email address.
6969

7070
#### Session ID
7171

72-
Attribute key: `SESSIONID`
72+
Attribute key: `sessionId`
7373

7474
Example value: `SID:ANON:w3.org:j6oAOxCWZ`
7575

0 commit comments

Comments
 (0)