Advanced event setup

After you set up your in-app events, you can further customize your integration by assigning custom user details to each event trigger or setting up unique events (that are only tracked once per device). 

Send user details

Adjust offers callback parameters so that you can transmit custom data points from your app through your Adjust real-time callbacks. You can set up callback parameters for any of your Adjust-tracked attribution, session, and in-app events. Use callback parameters to send your internal user ID with a registration event, SKU numbers with in-app purchases, and more.

Since callback parameters are unique to your app, they must be written into the Adjust SDK or appended to your server-to-server events. Adjust automatically appends callback parameters to your callback strings, so you do not need to include them in your dashboard callback URLs. Adjust does not report callback parameters anywhere in the Adjust dashboard.

Instructions for setting up callback parameters for events tracked in the Adjust SDK and server-to-server events are listed below.
 

Set up callback parameters for events tracked with the Adjust SDK

Callback parameters can be set up within the Adjust SDK by your developer. Instructions for each development platform can be found on GitHub in the following locations:

    Set up callback parameters for events tracked server to server

    For events tracked server side, callback parameters can be sent as a JSON object (appropriately escaped) through the callback_params parameter. In the example below, a JSON object containing two custom parameters ({"f0o":"bar","bar":"baz"}) is appended:
    http://s2s.adjust.com/event?s2s=1&event_token=f0ob4r&app_token=4w565xzmb54d&idfa=8A3CB124-5A79-4334-8802-F75FEC099C58&callback_params=%7B%22f0o%22%3A%22bar%22%2C%20%22bar%22%3A%22baz%22%7D
    The JSON object should only contain strings and should not be nested. If the parameters are incorrectly formatted, then the Adjust endpoint will return an error.

    Flag unique events

    In Adjust, a unique event is an in-app action that can only be tracked once per device.

    Unique events can be effective in instances where the local SDK may not fully recognize an in-app action. For example, depending on the method in use, an app could be unable to differentiate between a First Purchase and a Purchase event, since they both result in a transaction. Therefore, when set to unique, the First Purchase event becomes distinguishable from all subsequent Purchase events.

    Please note that unique events should be used in moderation, as dropping events tracked by the SDK can result in discrepancies. Therefore, it is always recommended to track one-time events as in-app events with contextual conditions when possible.

    Instructions

    In the Adjust dashboard
    1. Navigate to your app and select your app option caret (^)
    2. Select All Settings > (SETTINGS) Events
    3. Identify the in-app event that you want to make unique, and select the edit (pencil) icon
    4. Check the Unique box, then select UPDATE

    On this topic