Skip to content

Commit ed87cb4

Browse files
authored
added some changes
1 parent 68953bf commit ed87cb4

File tree

1 file changed

+2
-3
lines changed
  • src/connections/destinations/catalog/actions-amplitude

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ Session tracking is only available when using Segment's new libraries: [Analytic
4545
Once you have a mapping, you can follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
4646

4747

48-
### Mappings for Device ID
49-
The Amplitude destination requires that each event includes either a Device ID or a User ID. If a User ID is not present, a Device ID will be used, and vice versa. By default, Segment maps the Segment property `context.device.id` to the Amplitude property `Device ID`. If `context.device.id` is not available, Segment will map the property `anonymousId` to the Amplitude `Device ID`. This is indicated by the following text in the Device ID field: `coalesce(` `context.device.id` `anonymousId` `)`. In future, you will be able to specify the default property and additional fallback properties should the higher-priority fallback(s) not be available.
50-
48+
### Device ID Mappings
49+
The Amplitude destination requires that each event include either a Device ID or a User ID. If a User ID isn't present, Amplitude uses the a Device ID, and vice versa, if a Device ID isn't present, Amplitude uses the User ID. By default, Segment maps the Segment property `context.device.id` to the Amplitude property `Device ID`. If `context.device.id` isn't available, Segment maps the property `anonymousId` to the Amplitude `Device ID`. This is indicated by the following text in the Device ID field: `coalesce(` `context.device.id` `anonymousId` `)`.
5150

5251
### Enable session tracking for Analytics.js 2.0
5352

0 commit comments

Comments
 (0)