Aghanim
This integration is configured only in Aghanim.
By connecting Aghanim with devtodev, you can track player-generated events from the Game Hub, ensuring precise tracking of user actions across your entire game environment.
Step 1: Configure the Integration in Aghanim
Go to the Aghanim Dashboard → Aghanim Connect → Devtodev.
Click the Install button to enable the integration.
Step 2: Add devtodev attributes to player.verify
webhook response
player.verify
webhook responseTo ensure devtodev correctly identifies users and attributes their actions on the Game Hub, include the devtodev-specific attributes in the player.verify
webhook response:
attributes.devtodev_apikey
string
The API key of the project in devtodev. Obtain the API key by going to Settings → SDK → Integration in the application menu.
Yes
attributes.devtodev_device_id
DevtodevDeviceId
The device ID object.
Yes
The DevtodevDeviceId
schema
DevtodevDeviceId
schemaThe device ID object must contain at least one of the following identifiers:
devtodevId
number
The devtodev ID is the primary numeric identifier for the device/user account in the devtodev database. The devtodevId can be obtained from the devtodev SDK.
userId
string
A custom user ID assigned by the developer. Usually, a user ID on the developer's server. The ID must be specified during devtodev SDK initialization, or specified using the SetUserID method.
advertisingId
string
The Advertising ID or IDFA of the user device.
Example webhook response
{
"player_id": "2D2R-OP3C",
"name": "Beebee-Ate",
"level": 42,
"attributes": {
"devtodev_apikey": "ak-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"devtodev_device_id": {
"devtodevId": 123456,
"userId": "2D2R-OP3C",
"advertisingId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
},
}
}
Once the integration is set up, Aghanim will automatically send Real Payments events to devtodev, allowing you to track user purchases from the game hub.
Last updated
Was this helpful?