We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f06c592 + 4258311 commit ebcd997Copy full SHA for ebcd997
README.md
@@ -39,14 +39,16 @@ You can also add the user ID as an argument to the `init` call:
39
40
amplitude.init("YOUR_API_KEY_HERE", "USER_ID_HERE");
41
42
-# Setting Custom Properties #
+# Setting Event Properties #
43
44
You can attach additional data to any event by passing a Javascript object as the second argument to `logEvent`:
45
46
var eventProperties = {};
47
eventProperties.key = "value";
48
amplitude.logEvent("EVENT_IDENTIFIER_HERE", eventProperties);
49
50
+# Setting User Properties #
51
+
52
To add properties that are tracked in every event, you can set properties for a user:
53
54
var userProperties = {};
0 commit comments