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