# Tracking Parameters

##### Summary

This page lists all URL macros available in DAO.AD and explains how to pass campaign data to CPA networks and tracking platforms.

<table id="bkmrk-macro-value-descript" style="height: 606.841px; width: 100%;"><thead><tr style="height: 29.537px;"><th class="align-left" style="width: 18.8245%; height: 29.537px;">**Macro**</th><th style="width: 15.6109%; height: 29.537px;">**Value**</th><th style="width: 65.5249%; height: 29.537px;">**Description**</th></tr></thead><tbody><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{click_id}`**</td><td style="width: 15.6109%; height: 30.7755px;">numeric</td><td style="width: 65.5249%; height: 30.7755px;">Unique Click ID</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{campaign_id}`**</td><td style="width: 15.6109%; height: 30.7755px;">numeric</td><td style="width: 65.5249%; height: 30.7755px;">Campaign ID</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{creative_id}`**</td><td style="width: 15.6109%; height: 30.7755px;">numeric</td><td style="width: 65.5249%; height: 30.7755px;">Creative ID</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{source_id}`**</td><td style="width: 15.6109%; height: 30.7755px;">numeric</td><td style="width: 65.5249%; height: 30.7755px;">Publisher Source ID</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{sub_id}`**</td><td style="width: 15.6109%; height: 30.7755px;">text</td><td style="width: 65.5249%; height: 30.7755px;">Publisher Sub-Source ID</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{price}`**</td><td style="width: 15.6109%; height: 30.7755px;">numeric</td><td style="width: 65.5249%; height: 30.7755px;">Campaign bid price (per 1000 clicks)</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{country}`**</td><td style="width: 15.6109%; height: 30.7755px;">text, ISO code</td><td style="width: 65.5249%; height: 30.7755px;">User country (ISO code)</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{subs_age}`**</td><td style="width: 15.6109%; height: 30.7755px;">constant, text</td><td style="width: 65.5249%; height: 30.7755px;">The age of subscription in days: 1-3, 4-7, 8-15, 16+</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{model_price}`**</td><td style="width: 15.6109%; height: 30.7755px;">constant, text</td><td style="width: 65.5249%; height: 30.7755px;">Campaign pricing model ([CPC](https://wiki.dao.ad/books/terms-a-c/page/cpc "CPC") or [CPM](https://wiki.dao.ad/books/terms-a-c/page/cpc "CPC"))</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{cpc}`**</td><td style="width: 15.6109%; height: 30.7755px;">numeric</td><td style="width: 65.5249%; height: 30.7755px;">Actual cost per click ([CPC](https://wiki.dao.ad/books/terms-a-c/page/cpc "CPC"))</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{quality}`**</td><td style="width: 15.6109%; height: 30.7755px;">constant, text</td><td style="width: 65.5249%; height: 30.7755px;">Traffic quality: **low, regular, high, premium**</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{category}`**</td><td style="width: 15.6109%; height: 30.7755px;">constant, text</td><td style="width: 65.5249%; height: 30.7755px;">Campaign category: **adult**, **racy**, or **mainstream**</td></tr><tr style="height: 30.7755px;"><td class="align-left" style="width: 18.8245%; height: 30.7755px;">**`{category_src}`**</td><td style="width: 15.6109%; height: 30.7755px;">constant, text</td><td style="width: 65.5249%; height: 30.7755px;">Traffic source category: **adult**, **racy**, or **mainstream**</td></tr><tr style="height: 29.537px;"><td class="align-left" style="width: 18.8245%; height: 29.537px;">`<strong>{city}</strong>`</td><td style="width: 15.6109%; height: 29.537px;">text</td><td style="width: 65.5249%; height: 29.537px;">User city</td></tr><tr style="height: 29.537px;"><td class="align-left" style="width: 18.8245%; height: 29.537px;">`<strong>{region}</strong>`</td><td style="width: 15.6109%; height: 29.537px;">text</td><td style="width: 65.5249%; height: 29.537px;">User region</td></tr><tr style="height: 29.537px;"><td class="align-left" style="width: 18.8245%; height: 29.537px;">`<strong>{ref}</strong>`</td><td style="width: 15.6109%; height: 29.537px;">text</td><td style="width: 65.5249%; height: 29.537px;">Referring page full URL</td></tr><tr style="height: 29.537px;"><td class="align-left" style="width: 18.8245%; height: 29.537px;">`<strong>{ip}</strong>`</td><td style="width: 15.6109%; height: 29.537px;">IP</td><td style="width: 65.5249%; height: 29.537px;">User IP address</td></tr><tr style="height: 29.537px;"><td class="align-left" style="width: 18.8245%; height: 29.537px;">`<strong>{os}</strong>`</td><td style="width: 15.6109%; height: 29.537px;">text</td><td style="width: 65.5249%; height: 29.537px;">User operating system</td></tr><tr style="height: 29.537px;"><td class="align-left" style="width: 18.8245%; height: 29.537px;">`<strong>{browser}</strong>`</td><td style="width: 15.6109%; height: 29.537px;">text</td><td style="width: 65.5249%; height: 29.537px;">User browser</td></tr></tbody></table>

These macros can be added to your destination URL and passed to a CPA network or tracking platform for reporting and optimization purposes.

##### Example URL

https://**<span style="color: rgb(45, 194, 107);">tracker.com</span>**/click?  
**<span style="color: rgb(185, 106, 217);">clickid</span>**={click\_id}  
&amp;**<span style="color: rgb(185, 106, 217);">source</span>**={source\_id}  
&amp;**<span style="color: rgb(185, 106, 217);">campaign</span>**={campaign\_id}  
&amp;**<span style="color: rgb(185, 106, 217);">country</span>**={country}

**where:**

**<span style="color: rgb(45, 194, 107);">tracker.com</span>** - example CPA network or tracking platform URL  
**<span style="color: rgb(185, 106, 217);">clickid, source, campaign, country</span>**, etc. - are example parameters used by a CPA network or tracking platform. DAO.AD replaces the macros with actual values before redirecting the user. Parameter names may differ depending on the CPA network or tracker.

##### How macro replacement works

DAO.AD URL:  
**https://<span style="color: rgb(45, 194, 107);">tracker.com</span>/click?<span style="color: rgb(185, 106, 217);">clickid</span>=<span style="color: rgb(224, 62, 45);">{click\_id}</span>&amp;<span style="color: rgb(185, 106, 217);">country</span>=<span style="color: rgb(224, 62, 45);">{country}</span>**

After click:  
**https://<span style="color: rgb(45, 194, 107);">tracker.com</span>/click?<span style="color: rgb(185, 106, 217);">clickid</span>=<span style="color: rgb(224, 62, 45);">123456789</span>&amp;<span style="color: rgb(185, 106, 217);">country</span>=<span style="color: rgb(224, 62, 45);">US</span>**


##### Related

- [Postback Parameters](https://wiki.dao.ad/books/tracking-postback/page/postback-parameters "Postback Parameters")
- [Tracking Configuration Models](https://wiki.dao.ad/books/tracking-postback/page/tracking-configuration-models "Tracking Configuration Models")
- [Blacklist and Whitelist Targeting](https://wiki.dao.ad/books/optimization-reporting/page/blacklist-and-whitelist-targeting "Blacklist and Whitelist Targeting")
- [Micro-bidding Tool](https://wiki.dao.ad/books/optimization-reporting/page/micro-bidding-tool "Micro-bidding Tool")