> For the complete documentation index, see [llms.txt](https://knowledgebase.offer18.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.offer18.com/network/mobile-attribution-integration/appsflyer/global-attribution-url.md).

# Global Attribution URL

#### **Offer URL**

```
https://app.appsflyer.com/com.appsflyer.app?af_sub_siteid={sub_aff_id}&pid=partner_int&af_siteid={aff_id}&af_click_lookback=30d&clickid={tid}&c={offername}&af_c_id={offerid}&advertising_id={googleaid}&android_id={androidid}&idfa={iosidfa}&oaid={deviceid}
```

<table data-header-hidden><thead><tr><th width="249.1682814836629"></th><th width="150"></th><th width="319.49514567824684"></th></tr></thead><tbody><tr><td><strong>Offer18 Macro Name</strong></td><td><strong>Macro Identifier</strong></td><td><strong>Description</strong></td></tr><tr><td>Click ID</td><td>{tid}</td><td>Platform unique Click ID macro</td></tr><tr><td>Affiliate ID / Publisher ID</td><td>{aff_id}</td><td>Pass Affiliate ID in Attribution URL</td></tr><tr><td>Sub Affiliate ID</td><td>{sub_aff_id}</td><td>Pass Sub-Affiliate ID in Attribution URL</td></tr><tr><td>Campaign ID</td><td>{offerid}</td><td>Pass OfferID in Attribution URL <br>(required for iOS)</td></tr><tr><td>Campaign Name </td><td>{offername}</td><td>Pass Campaign Name in Attribution URL</td></tr><tr><td>Google Advertising ID</td><td>{googleaid}</td><td>Pass Google Advertising ID in Attribution URL</td></tr><tr><td>iOS Advertising ID</td><td>{iosidfa}</td><td>Pass iOS advertising ID in case of IOS Campaigns in Attribution URL</td></tr><tr><td>Device ID</td><td>{deviceid}</td><td>Pass Unique Device id in Attribution URL</td></tr><tr><td>Android ID</td><td>{androidid}</td><td>Pass Android ID in Attribution URL</td></tr></tbody></table>

<figure><img src="/files/omSYQAGsnIyG6XfcDbk1" alt=""><figcaption></figcaption></figure>
