Skip to content

Commit b9cf19c

Browse files
authored
Merge pull request #1061 from segmentio/niall/amplitude_group_call
Clarify Amplitude group event docs
2 parents 9110f39 + afef483 commit b9cf19c

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
@@ -427,21 +427,21 @@ it's how you tell Segment which trait should be used as the group type.
427427
`.group()` calls will contain the Amplitude "group value". It's how you tell
428428
Segment which trait should be used as the group value.
429429

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

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

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

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

0 commit comments

Comments
 (0)