TUNE macros
TUNE (formerly HasOffers) uses curly bracket macros {like_this}. It's one of the oldest and most widely deployed affiliate platforms, so many networks are built on top of it. You'll see go2cloud.org domains on TUNE-powered postback URLs.
👋 Quick tip: Every macro below has a "Here's what I'd do" section — a plain-English note on exactly when and how to use it. If you're ever unsure, that's the bit to read.
Attribution
{transaction_id} TUNE's unique click ID — the identifier generated at click time and returned at conversion to attribute the sale.
Here's what I'd do
This is the non-negotiable macro for TUNE S2S tracking. Pass it in your offer URL so the advertiser can store it, then they return it in the transaction_id= parameter of your TUNE postback URL. A standard TUNE postback looks like: https://your-network.go2cloud.org/aff_lsr?offer_id=1&transaction_id={transaction_id}
{aff_click_id} A partner's external click ID, stored when passed in the aff_click_id= parameter of the tracking link. Used to return a partner's own session ID at conversion.
Here's what I'd do
When a partner (publisher) passes their own session ID in aff_click_id=, you can return it at conversion using {aff_click_id}. This is how TUNE integrates with external trackers like Voluum — Voluum passes its click ID in aff_click_id and gets it back in the postback.
{customer_id} TUNE's internal conversion ID — useful for reconciliation between TUNE and partner systems.
Financial
{payout} The payout amount for the conversion.
Here's what I'd do
Use this to pass the conversion payout to your partner. Append it to the partner conversion URL like: &value={payout}.
{amount} The sale amount passed by the advertiser in the conversion pixel. Used for revenue-per-sale (RPS) offers.
Sub IDs
{aff_sub} Partner Sub ID 1 — passed in aff_sub= on the tracking link. Commonly used for the partner's placement or traffic source ID.
Here's what I'd do
When a partner passes a value in aff_sub= on the tracking link, you get it back at conversion with {aff_sub}. Use this to return their click ID or any custom value they need. Equivalent to sub1 in Everflow or s2 in CAKE.
{aff_sub2} Partner Sub ID 2.
{aff_sub3} Partner Sub ID 3.
{aff_sub4} Partner Sub ID 4.
{aff_sub5} Partner Sub ID 5.
{aff_unique1} Partner unique value 1 — for high-cardinality data like click IDs. Only appears in raw event reports, not aggregate stats.
{aff_unique2} Partner unique value 2. For high-cardinality data only.
Advertiser Data
{adv_sub} Advertiser Sub ID 1 — passed by the advertiser in their conversion pixel. Stored and returnable in partner conversion links.
{adv_sub2} Advertiser Sub ID 2.
{adv_sub3} Advertiser Sub ID 3.
{adv_sub4} Advertiser Sub ID 4.
{adv_sub5} Advertiser Sub ID 5.
IDs
{affiliate_id} The partner (affiliate) ID on the TUNE network.
{offer_id} The offer ID.
{source} Traffic source identifier — passed in source= on the tracking link.
Mobile IDs
{google_aid} Google Advertiser ID (GAID) for Android device attribution.
{ios_ifa} Apple's IDFA (Identifier for Advertisers) for iOS device attribution.
Utility
{redirect} Replaced with the offer URL for the click. Used in custom click macro URLs for third-party click tracking.
{eredirect} URL-encoded version of the offer URL. Use instead of {redirect} when the click macro URL contains a query string.
Data sourced from TUNE's official documentation on 2026-04-18.