-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from interakt/develop
Resolved API Error bug
- Loading branch information
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Example `identify` call: | ||
``` | ||
track.identify( | ||
user_id="<USER_ID>", | ||
user_id="<user_id in your db>", | ||
traits={ | ||
"name": "John Doe", | ||
"email": "[email protected]", | ||
|
@@ -76,19 +76,19 @@ The `identify` call has the following fields: | |
|
||
|
||
|
||
|
||
## Event | ||
`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. | ||
|
||
Example `event` call: | ||
``` | ||
track.event( | ||
user_id="changu_mangu", | ||
user_id="<user_id in your db>", | ||
event="Product Added", | ||
traits={"price": 200} | ||
) | ||
``` | ||
The `event` call has the following fields: | ||
|
||
|Field|Data type|Description| | ||
|--|--|--| | ||
|user_id|str or int|The ID for the user in your database.| | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VERSION = '1.0.0' | ||
VERSION = '1.0.1' |