Skip to main content
Adjust Integration with Swaarm

This article explains how the tracking link with Postback URL should be implemented for Adjust clients

Updated over 2 weeks ago

Usually, the advertiser using Adjust MMP shares a 6 to 7-digit tracker and 6-digit event token ( if required) with you and you need to generate a tracking link using the Adjust partner dashboard. You also need your Global and event postback to be configured together with the base Adjust URL. Click here to see how the partner link generation works.

Let’s say, you would like to track an install and an event for a CPI offer named "coolgame_iOS". The advertiser has shared a tracker “trck123” and an event token “event1” for an event called Purchase. You can create the Adjust attribution link/tracking link using the partner dashboard as follows,

Step 1: Add your Adjust links

Insert the Adjust tracker with the placeholders that you would like to use to pass additional information to your advertiser.

Sample link to insert:
https://app.adjust.com/trck123?campaign=coolgame_iOS&adgroup={publisher.id}_{publisher.subId}&creative={publisher.creative}&idfa={device.ids.idfa}&gps_adid={device.ids.gaid}&user_agent={user.encoded_ua}&tracker_limit=100000


Step 2: Add your callback URLs based on the requirement

Sample callback templates:

  • Event callback for event token event1: https://track.yournetwork.swaarm-clients.com/postback?click_id={id}&event_id=purchase

  • Install callback: https://track.yournetwork.swaarm-clients.com/postback?click_id={id}&idfa={idfa}&gaid={gps_adid}&city={city}

  • Rejected Install callback: https://track.yournetwork.swaarm-clients.com/postback?click_id={id}&status=rejected&idfa={idfa}&gaid={gps_adid}&city={city}&rejection_reason={rejection_reason}

Do note - The above postback templates are configured with sample domain values and the domain name track.yournetwork.swaarm-clients.com should be replaced with your respective postback domain.

Add Event Callback:

Add Install and Rejected Install Callbacks:


Step 3:

Copy the Generated URL section and use it as the offer tracking URL in Swaarm.

The ultimate URL should look like the following link,


Do note: It is of utmost importance to utilize the Adjust Encoding tool to encode the Adjust offer URLs. Encoding is the practice of converting sensitive sections of complex URLs into code so that they can be read by Adjust servers. URL encoding is an essential practice. Failure to correctly encode a URL will result in an error on Adjust server. This error will prevent the server from reading and processing the parameters, ultimately resulting in the loss of tracking functionality.


To track quality events for CPI campaigns and monetization events for CPA campaigns, both "our_event_type_id" and "event_id" can be used. "our_event_type_id" parameter should contain the swaarm generated event ID as follows,

If you wish to set up the postback based on the event_id which corresponds with Adv.Event_type ID on the Event setup, then you can replace our_event_type_id%3D293 with event_id%3Dpurchase in the Offer tracking link.

Here you can find the additional Attribution link parameters supported by Adjust

Global Install and in-app event postbacks Creation (Adjust):

There is also an option for Adjust whereas with a technical integrated partner, you can share the postback template with Adjust to keep them saved on their end.

Global install postback (Android):

https%3A%2F%2Ftrack.yournetwork.swaarm-clients.com%2Fpostback%3Fclick_id%3D{id}%26gaid%3D%7Bgps_adid%7D%26city%3D%7Bcity%7D

Global install Postback (iOS):

https%3A%2F%2Ftrack.yournetwork.swaarm-clients.com%2Fpostback%3Fclick_id%3D{id}%26idfa%3D%7Bidfa%7D%26city%3D%7Bcity%7D

In-app event Postback for both OS:

http%3A%2F%2Ftrack.yournetwork.swaarm-clients.com%2Fpostback%3Fclick_id%3D{id}%26our_event_type_id%3D293

To get some more information through your postback, you can always check these two helpful articles to adjust your tracking URL accordingly.

Did this answer your question?