Tracking Macros Reference
Last updated: September 17, 2026
Macros are placeholders in your Advertiser Offer URL that TrackOG replaces with real values on each click.
Where to find them
Offers > Create Offer > Advertiser Offer URL > View More
Macro reference
| Macro | What TrackOG inserts |
|---|---|
{click_id} | Unique ID for this click — always include this |
{offer_id} | The TrackOG offer ID |
{camp_id} | Same as offer_id |
{aff_id} | The affiliate ID |
{source} | The source sub-parameter passed in the tracking link |
{g1}–{g15} | Custom sub-parameters from the tracking link |
Usage example
https://advertiser.com/lp?click_id={click_id}&aff={aff_id}&source={source}&sub1={g1}
The advertiser receives real values and stores the click_id with the user's session.
Competitor macro mapping (for migration)
| Platform | Their macro | TrackOG equivalent |
|---|---|---|
| Trackier | {click_id} | {click_id} |
| Affise | {clickid} | {click_id} |
| Offer18 | {tid} | {click_id} |
| HasOffers | {transaction_id} | {click_id} |
Frequently Asked Questions
Q: Which macro is the most important?
A: {click_id} — without it, conversions cannot be attributed to affiliates.
Q: Can affiliates also use macros in tracking links? A: Affiliates use sub-parameters (source, g1–g15) in their tracking links. You map these to macros in the Advertiser Offer URL.
Related articles
- How TrackOG Tracking Works: From Click to Conversion
- Generating Tracking Links and Using g1–g15 Sub-Parameters