Skip to content

Commit 4c930b3

Browse files
author
Niall Brennan
committed
change group docs
1 parent c4bf38f commit 4c930b3

File tree

1 file changed

+4
-4
lines changed
  • src/connections/destinations/catalog/amplitude

1 file changed

+4
-4
lines changed

src/connections/destinations/catalog/amplitude/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,21 +429,21 @@ it's how you tell Segment which trait should be used as the group type.
429429
`.group()` calls will contain the Amplitude "group value". It's how you tell
430430
Segment which trait should be used as the group value.
431431

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",
433433
and `name` as the "Amplitude Group Value Trait", then the following call:
434434

435435
```js
436436
analytics.group("082108c8-f51e-485f-9d2d-b6ba57ee2c40", {
437-
industry: "Placeholding",
437+
group_type: "Organization",
438438
name: "ExampleCorp, LLC",
439439
employees: "20",
440440
441441
});
442442
```
443443

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
445445
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`,
447447
`employees`, and `email`) will be provided as `group_properties` of that group.
448448

449449
What you provide as group ID doesn't matter, but Segment requires that all

0 commit comments

Comments
 (0)