Before you begin
General integration
Swaarm Tracking URL
Set up a Swaarm tracking URL to send information about clicks to Swaarm.
Add the Swaarm pub_click_id parameter and Affise {clickid} macro to the Swaarm Tracking URL.
2. In Offers > a certain offer > Tracking, put the updated tracking URL into the Tracking URL field.
Swaarm tracking URL example:
https://rocketcompany.trckswrm.com/click?pub_click_id={clickid}
Affise Postback URL
Set up your postback URL to get information about conversions from Swaarm.
In Offers > a certain offer > Postabcks, get a sample postback URL.
Update your postback with the &clickid parameter and #{click.publisher.clickId} macro.
Affise Postback URL example:
https://offers-rocketcompany.affise.com/postback?clickid=#{click.publisher.clickId}
Probabilistic Attribution
If you use probabilistic attribution, you can't pass click ID values. You need to use other parameters and macros to match your conversions.
Tracking links
Use the ext_offer_id and ext_publisher_id parameters for offers where click attribution is not possible. Add the Affise {offer_id} and {pid} macros respectively.
Swaarm tracking URL example:
http://rocketcompany.trckswrm.com?offer_id=123&pid=23&ext_offer_id={offer_id}&ext_pub_id={pid}
Postback links
You should pass the information about the click back in the postback.
Update the Affise postback with the offer_id and pid parameters.
Add the Swaarm the {ext.offerId} and {ext.publisherId} macros respectively.
To ensure that no duplicate counting occurs, send the postback id using the action_id parameter and {id} macro.
Affise Postback URL example:
https://offers-rocketcompany.affise.com/probattribution?action_id=#{id}&goal=#{offer.eventTypeId}&offer_id=#{ext.offerId}&pid=#
{ext.publisherId}
Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].