@@ -427,21 +427,21 @@ it's how you tell Segment which trait should be used as the group type.
427
427
` .group() ` calls will contain the Amplitude "group value". It's how you tell
428
428
Segment which trait should be used as the group value.
429
429
430
- For example, if you specified ` industry ` as the "Amplitude Group Type Trait",
430
+ For example, if you specified ` group_type ` as the "Amplitude Group Type Trait",
431
431
and ` name ` as the "Amplitude Group Value Trait", then the following call:
432
432
433
433
``` js
434
434
analytics .group (" 082108c8-f51e-485f-9d2d-b6ba57ee2c40" , {
435
- industry : " Placeholding " ,
435
+ group_type : " Organization " ,
436
436
name: " ExampleCorp, LLC" ,
437
437
employees: " 20" ,
438
438
439
439
});
440
440
```
441
441
442
- Would associate the current user with the group with type ` "Placeholding " ` and
442
+ Would associate the current user with the group with type ` "Organization " ` and
443
443
value ` "ExampleCorp, LLC" ` . On client-side, that's all that happens. On
444
- server-side and Android, the traits you pass (in this case, ` industry ` , ` name ` ,
444
+ server-side and Android, the traits you pass (in this case, ` group_type ` , ` name ` ,
445
445
` employees ` , and ` email ` ) will be provided as ` group_properties ` of that group.
446
446
447
447
What you provide as group ID doesn't matter, but Segment requires that all
0 commit comments