Skip to main content

Aghanim-Adjust Integration

This guide explains how to integrate Aghanim with Adjust to streamline mobile attribution and analytics. By connecting Aghanim with Adjust, you can track player-generated events from the game hub, ensuring precise tracking of user actions across your entire game environment.

info

Aghanim currently sends events to Adjust only when a player successfully completes a payment on the game hub.

Requirements

Step 1: Provide the Adjust S2S token

Obtain an S2S Token from Adjust to authenticate communication, enabling Aghanim to send events:

  1. Log in to your Adjust dashboard.
  2. Create an S2S token with Events scope.
  3. Proceed to Aghanim Dashboard → App ConnectAdjust and install the plugin.
  4. In the plugin settings, paste the created token.

For more details, see the Adjust documentation on obtaining S2S tokens.

Step 2: Add Adjust attributes to player.verify webhook response

To ensure Adjust correctly identifies users and attributes their actions on the game hub, include the Adjust‑specific attributes in the player.verify webhook response:

KeyTypeDescriptionRequired?
attributes.adjust_device_idobjectSpecifies the Device ID used by Adjust to identify the user. Example: {"idfa": "D2CADB5F-410F-4963-AC0C-2A78534BDF1E"}. For more supported device IDs, see the Adjust S2S API documentation.Yes
attributes.adjust_authorization_tokenstringThe Adjust authorization token. Required if not configured in the plugin settings.Conditionally
attributes.adjust_app_tokenstringThe Adjust app token. Required if not configured in the plugin settings.Conditionally
attributes.adjust_purchase_event_tokenstringThe Adjust event token for the purchase event. Required if not configured in the plugin settings.Conditionally
attributes.adjust_adidstringAdjust identifier for the device, useful for identifying LAT users on iOS without IDFA.No
attributes.adjust_callback_paramsobjectA JSON object with key-value pairs passed back via callbacks for internal use. Example: {"callback_key": "callback_value"}.No
attributes.adjust_partner_paramsobjectA JSON object with key-value pairs sent to network partners associated with your Adjust account. Example: {"partner_key": "partner_value"}.No

Example webhook response:

{
"player_id": "r2d2-c3po",
"name": "R2-D2",
"attributes": {
"adjust_device_id": {
"idfa": "D2CADB5F-410F-4963-AC0C-2A78534BDF1E"
},
"adjust_authorization_token": "68b329da9893e34099c7d8ad5cb9c940",
"adjust_app_token": "b026324c69",
"adjust_purchase_event_token": "26ab0db9",
"adjust_adid": "6d7fce9fee471194aa8b5b6",
"adjust_callback_params": {"callback_key": "callback_value"},
"adjust_partner_params": {"partner_key": "partner_value"}
}
}

Need help?
Contact our integration team at integration@aghanim.com