Skip to content

Commit

Permalink
update readme for user_id
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-astra-via committed Aug 9, 2023
1 parent 8b6ab47 commit bc46e95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ Amplitude distinguishes between Event Properties, User Properties, and Group Pro

`groups` To send the `groups` property, name your fields/event parameters with the prefix `“groups_”`. For example, in WebCM: `webcm.track('event', {name: 'signup', groups_company: 'My Company Name'})`. Since in WebCM all of the event properties are automatically directed to the tool (without the need for mapping configuration), the following code should end up adding `groups_company` to `groups`. It will omit the prefix from the property name, so it will send `company` as the key and `My Company` as the value.

##### User ID `string` _optional_

`user_id` The `user_id` field is automatically generated with a random string unless it is specifically provided as a parameter with an event. In such cases, the provided value will override the automatically generated one.

---

## Ecommerce
Expand Down

0 comments on commit bc46e95

Please sign in to comment.