You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ The `identify` lets you tie a user to their actions and record traits about them
53
53
Example `identify` call:
54
54
```
55
55
track.identify(
56
-
user_id="<USER_ID>",
56
+
user_id="<user_id in your db>",
57
57
traits={
58
58
"name": "John Doe",
59
59
"email": "john@email.com",
@@ -76,19 +76,19 @@ The `identify` call has the following fields:
76
76
77
77
78
78
79
-
80
79
## Event
81
80
`event` track API lets you record the actions your users perform. Every action triggers what we call an “event”, which can also have associated properties.
82
81
83
82
Example `event` call:
84
83
```
85
84
track.event(
86
-
user_id="changu_mangu",
85
+
user_id="<user_id in your db>",
87
86
event="Product Added",
88
87
traits={"price": 200}
89
88
)
90
89
```
91
90
The `event` call has the following fields:
91
+
92
92
|Field|Data type|Description|
93
93
|--|--|--|
94
94
|user_id|str or int|The ID for the user in your database.|
0 commit comments