Question
Does the Adjust destination support sending events via Cloud-mode?
Product
Twilio Segment
Environment
Segment Console
Answer
Yes - the Adjust destination in Segment does support Cloud-mode, but there are a few important caveats:
The Cloud-mode integration allows you to send supplemental data to Adjust. This does not include attribution events. If you rely on the Adjust server-side component, and do not bundle the Segment-Adjust SDK, your installs will not be attributed. E-commerce events and other general track events are supported out of the box. You must map your track events to your custom Adjust Event Token in your Adjust destination settings.
Additionally, to send any events to Adjust from the server, you must include the device.id as well as the device.type in the context object of your event. For example:
analytics.track({
userId: '019mr8mf4r',
event: 'Item Purchased',
properties: {
revenue: 39.95,
shippingMethod: '2-day'
},
context: {
device: {
id: '3e9ffbefafe0d903',
type: 'Android'
}
}
});For iOS and Android, Device ID and Advertising ID map to Segment as follows:
| Segment | iOS | Android |
|---|---|---|
context.device.advertisingId |
|
|
context.device.id |
|
|
For the Install Attributed event, the Cloud-mode option will no include device context information, nor will it be sent to any enabled device-mode destinations.
If you are bundling the Segment-Adjust integration and would like attribution data sent from Adjust’s servers back to Segment, you can enable Segment as a Special Partner in Adjust. Once set up, Install Attributed will be sent to Segment, and on to enabled Cloud-mode destinations.
Contact the Adjust team at support@adjust.com for questions related to enabling Segment as a Adjust Special Partner.
Additional Information
You can find more details here.