Global callbacks

A global callback is a main callback that covers every data point that Adjust measures.

Global callbacks are fired in addition to any other callback that you have specified at the individual event level. So, if you set a global callback in addition to a callback at the in-app event level, Adjust will fire two callbacks: one that contains the data requested in the global callback and one that contains the data requested at the in-app event level.

The recommended placeholders below are the bare essentials for a global callback. If, for example, you are expecting to receive information on installs, sessions, and in-app events, your global callback URL should also include the recommended placeholders found on those pages.

Recommended placeholders

PlaceholderDescriptionExample
{activity_kind}This will allow you to determine the data point, such as impression, click, install, rejected install, session, and moresession
{event}This will allow you to identify different in-app events at the event-token levelbkrfgq
{event_name}This will allow you to identify different in-app events by the event name as written in AppViewsignup
Note:
Event names can always be modified in AppView, and so you should use the {event_name} placeholder as a human-readable label. Conversely, event tokens are permanent, and can always be referenced in your reporting as a constant identifier.

Callback example

Callback URL with placeholdersUnencoded (Do not use as is)
Callback URL populated with values
https://serverendpoint.com/mobile_attribution?gps_adid={gps_adid}&idfa={idfa}&idfv={idfv}&adid={adid}&tracker_token={link_token}&tracker_name={link_name}&app_name={app_name}&activity_kind={activity_kind}&created_at={created_at}&event_token={event}&event_name={event_name}

Other recommended placeholders

We also advise that you include the following placeholders in all callback URLs. These placeholders will ensure that you always receive basic information that you can use to identify the app, link, data point, and device to which the rest of your callback data belongs.

PlaceholderDescriptionExample
{gps_adid}Google Play Store advertising ID (Android only)38400000-8cf0-11bd-b23e-10b96e40000d
{idfa}ID for advertisers (iOS only)8C6CBCOD-5F43-4765-A6E6-84DFF3D24707
{idfv}ID for vendors (iOS only)CCB300A0-DE1B-4D48-BC7E-599E453B8DD4
{adid}Adjust device ID18546f6171f67e29d1cb983322ad1329
{tracker}Adjust link tokenabc123
{tracker_name}Current link name as defined in Campaign LabNetwork1%3A%3AChristmas%3A%3AReindeers%3A%3A320x70_en
{app_name}Name of the appMyApp
{activity_kind}This will allow you to determine the data point: impression, click, install, rejected install, rejected reattribution, session, reattribution, uninstall, reinstall, reattribution reinstall, updated attribution, in-app event, or ad spend (cost_updated)rejected_reattribution
{created_at}The timestamp for when the data point occurred1404214665