Overview
If you are not yet integrated with Singular, contact their integration team for the setup process. If you are already integrated, request your current tracking and postback link configuration and replace it with the Swaarm-supported parameters and macros below. In most cases, you can update the integration yourself by logging into Singular, going to Partner Configuration, opening your integration, and re-saving it.
ℹ️
For the full list of Swaarm tracking link macros → Advertiser Tracking Details
For Singular's tracking link macros → Singular Tracking Link Macros
For the additional postback link macros supported by Singular → here
Singular Tracking Link Structure
Singular tracking links follow the structure [SUBDOMAIN].sng.link/[DNS_ZONE], where the subdomain and DNS zone together make up the domain.
Example without parameters:
https://examplesubdomain.sng.link/C59c0/47bm?
Attribution Link Template
ℹ️ The templates below are suggested starting points - you're free to add or remove parameters and macros based on your company's specific needs.
Complete tracking link with Swaarm macros
https://examplesubdomain.sng.link/C59c0/47bm?cl={id}&psid={publisher.id}&pssid={publisher.subId}&idfa={device.ids.idfa}&aifa={device.ids.gaid}&pcn={offer.name}&pcid={offer.id}&ip={user.ip}&ua={user.ua}&psn={publisher.app}Tracking link parameter mapping
Singular Parameter | Definition | Swaarm Macro |
| Click or transaction ID (mandatory) |
|
| IP of the device at click time |
|
| OS version of the device (numeric/decimal only) |
|
| iOS Advertising ID (unhashed) |
|
| Android Advertising ID (GAID) |
|
| User agent of the device |
|
| Language preference (e.g. |
|
| Sub Publisher ID |
|
| Campaign name |
|
| Campaign ID |
|
| Publisher ID |
|
| Device platform (Android/iOS) |
|
| Publisher app name |
|
| Creative name/ID |
|
Postback Link Templates
Singular supports install and event postbacks separately, differentiated by the event_id parameter. Revenue and Fraud postbacks are also supported as optional separate templates.
❗
Install postback
https://track.{yournetwork}.swaarm-clients.com/postback?click_id={cl?Network Name}&gaid={AIFA}&idfa={IDFA}&city={EVENT_CITY}&conversion_timestamp={UTC}&country={EVENT_COUNTRY}&os_name={PLATFORM}Event postback
https://track.{yournetwork}.swaarm-clients.com/postback?event_id={EVTNAME}&click_id={cl?Network Name}&gaid={AIFA}&idfa={IDFA}&city={EVENT_CITY}&conversion_timestamp={UTC}&country={EVENT_COUNTRY}&os_name={PLATFORM}Revenue postback
https://track.{yournetwork}.swaarm-clients.com/postback?event_id={EVTNAME}&click_id={cl?Network Name}&gaid={AIFA}&idfa={IDFA}&city={EVENT_CITY}&conversion_timestamp={UTC}&country={EVENT_COUNTRY}&os_name={PLATFORM}&aggregated_event_value={AMOUNT}&event_value={EVTATTRS}Fraud postback
https://track.{yournetwork}.swaarm-clients.com/postback?status=rejected&rejection_reason={FRAUD_REASON_EXTERNAL}&click_id={cl?Network Name}&gaid={AIFA}&idfa={IDFA}&city={EVENT_CITY}&conversion_timestamp={UTC}&country={EVENT_COUNTRY}&os_name={PLATFORM}Event Setup
Events are tracked based on the Singular event name. Set the Adv. EventType ID on the corresponding Swaarm event to match the Singular event name ({EVTNAME}) exactly.
Singular Postback Parameters
Swaarm Parameter | Definition | Singular Macro | Macro Definition |
| Swaarm click ID for the attributed conversion |
| Network click ID passed via Singular's |
| Google AID of the device |
| Unhashed Android advertising identifier |
| IDFA of the iOS device |
| Unhashed iOS advertising identifier |
| Swaarm Publisher ID |
| Source site/app ID for the click, if passed |
| Event ID attributed in the advertiser's SDK |
| Event name (rejected revenue events become |
| City of the device |
| Device location at the time of the event |
| Two-character country code |
| Device location at the time of the event |
| Operating system |
| iOS or Android |
| Transaction amount |
| Revenue postbacks only — amount rounded to two decimals |
| JSON object with custom event data |
| Event attributes payload collected by the SDK |
| Conversion timestamp recorded by the SDK |
| Install/event timestamp in UNIX seconds |
| Click timestamp recorded by the SDK |
| Click timestamp in UNIX seconds |


