Skip to content

Commit 8b04293

Browse files
Update documentation
1 parent 9c6452f commit 8b04293

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The `identify` lets you tie a user to their actions and record traits about them
5353
Example `identify` call:
5454
```
5555
track.identify(
56-
user_id="<USER_ID>",
56+
user_id="<user_id in your db>",
5757
traits={
5858
"name": "John Doe",
5959
"email": "john@email.com",
@@ -76,19 +76,19 @@ The `identify` call has the following fields:
7676

7777

7878

79-
8079
## Event
8180
`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.
8281

8382
Example `event` call:
8483
```
8584
track.event(
86-
user_id="changu_mangu",
85+
user_id="<user_id in your db>",
8786
event="Product Added",
8887
traits={"price": 200}
8988
)
9089
```
9190
The `event` call has the following fields:
91+
9292
|Field|Data type|Description|
9393
|--|--|--|
9494
|user_id|str or int|The ID for the user in your database.|

0 commit comments

Comments
 (0)