Skip to content

Commit ebcd997

Browse files
committed
Merge branch 'master' of github.com:amplitude/Amplitude-Javascript
2 parents f06c592 + 4258311 commit ebcd997

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ You can also add the user ID as an argument to the `init` call:
3939

4040
amplitude.init("YOUR_API_KEY_HERE", "USER_ID_HERE");
4141

42-
# Setting Custom Properties #
42+
# Setting Event Properties #
4343

4444
You can attach additional data to any event by passing a Javascript object as the second argument to `logEvent`:
4545

4646
var eventProperties = {};
4747
eventProperties.key = "value";
4848
amplitude.logEvent("EVENT_IDENTIFIER_HERE", eventProperties);
4949

50+
# Setting User Properties #
51+
5052
To add properties that are tracked in every event, you can set properties for a user:
5153

5254
var userProperties = {};

0 commit comments

Comments
 (0)