From bc46e953b6fbaa573217bbd94530e97f56eecd72 Mon Sep 17 00:00:00 2001 From: Yair Dovrat Date: Wed, 9 Aug 2023 16:10:35 +0200 Subject: [PATCH] update readme for user_id --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7bea631..135af9b 100644 --- a/README.md +++ b/README.md @@ -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