Set up Segment

Segment is an Adjust module partner. Our integration lets Segment receive attribution and app event data through automated callbacks.

Use our basic setup instructions to turn on Adjust’s integration and send callbacks to Segment. Then, use our advanced setup instructions to customize what information Segment receives.

Basic setup

To turn on Adjust’s integration with Segment, follow these steps.

  1. Find your app and select your app options caret (^)
  2. Select Partner Setup > ADD PARTNERS
  3. Select Add (+icon) next to Segment
  4. Enter your WRITE KEY (contact your Segment representative for help finding this)
  5. Optional: see advanced setup to customize your callbacks
  6. Select Save

Well done! Basic setup is complete. Segment will receive callbacks for these activities:

  • install

Advanced setup

Choose which data Segment receives from Adjust by customizing your setup.

Forward custom data

Partner parameters (available in Adjust SDK version 4.0+) let Adjust collect custom data points from your app and send them to Segment.

Note: Before adding new partner parameters to the Adjust SDK, make sure no pre-existing partner parameters already fit your requirements.

To forward partner parameters to Segment, follow these steps.

  1. Set up partner parameters within the Adjust SDK (instructions for iOS and Android)
  2. In the Adjust dashboard, find your app and select your app options caret (^)
  3. Select Partner Setup > Segment
  4. Turn on Parameter Forwarding
  5. Select Partner Parameter Mapping
  6. In the FROM APP field, enter the name of your Adjust parameter (as written into the Adjust SDK). In the TO PARTNER field, enter your corresponding Segment name.
  7. Select Save

Now Segment will receive custom event details for each of your linked events.

 

Note: If you set up partner parameters within the Adjust SDK without turning on Partner Parameter Mapping, Adjust forwards the parameters as named in the Adjust SDK.

 

Partner specific setup instructions

Segment allows you to send a set of predefined parameters. If you attach any of these parameters to an event in your adjust SDK, these will be forwarded to Segment. You can find out more about attaching partner parameters in the SDK readme specific to the SDK or SDKs you are working with. Below is a list of the defined parameters that Segment accepts:

Parameter key > Value

  • anonymous_id > mandatory
  • user_id > optional

List of all parameters forwarded to Segment

Segment requires Adjust to send the following parameters (data points) with your callbacks:

Placeholder Information
{adgroup_name} Adgroup name, as taken from the tracker
{campaign_name} Campaign name, as taken from the tracker
{creative_name} Creative name, as taken from the tracker
{network_name} Network name, as taken from the tracker
{partner_parameters} Custom partner parameters collected by the Adjust SDK or S2S request and transmitted to third party providers via postbacks
{tracker_name} Current tracker name