# Advanced Privacy Postback

#### **Install Postback**

{% code overflow="wrap" %}

```
https://example.o18.click/p?privacy_postback=1&mid=0000&a={Site ID}&p_sub_aff_id={Sub site ID}&oid={Campaign ID}&p_country={Country code}&adv_sub7={Adset ID}&p_timestamp={Click Unix timestamp}&p_postbackid={Postback ID}&p_package={Bundle ID}
```

{% endcode %}

#### In-App Events Postback

{% code overflow="wrap" %}

```
https://example.o18.click/p?privacy_postback=1&mid=0000&a={Site ID}&p_sub_aff_id={Sub site ID}&oid={Campaign ID}&p_country={Country code}&adv_sub7={Adset ID}&p_timestamp={Click Unix timestamp}&p_postbackid={Postback ID}&event={Partner event ID}&adv_sub1={Event name}&p_package={Bundle ID}
```

{% endcode %}

{% hint style="warning" %}
The &**mid=** value will vary for each Partner account.

The Parameter **\&privacy\_postback=1** is required.

These two parameters will be added as custom parameters.
{% endhint %}

<table data-header-hidden><thead><tr><th></th><th width="150"></th><th></th></tr></thead><tbody><tr><td><strong>AppsFlyer Macro</strong> </td><td><strong>Offer18 Parameter</strong></td><td><strong>Description</strong></td></tr><tr><td>Site ID</td><td>a</td><td>To receive Affiliate ID in Offer18<br>(Mandatory Field)</td></tr><tr><td>Sub site ID</td><td>p_sub_aff_id</td><td>To receive Sub Affiliate in Offer18</td></tr><tr><td>Campaign ID</td><td>oid</td><td>To receive Offer ID in Offer18<br>(Mandatory Field)</td></tr><tr><td>Country code</td><td>p_country</td><td>To receive Conversion Country in Offer18</td></tr><tr><td>Adset ID</td><td>adv_sub7</td><td>To receive Offer ID, Affiliate ID and sub source data in Offer18</td></tr><tr><td>Click Unix timestamp</td><td>p_timestamp</td><td>To receive time of Click occured (UNIX Timestamp)</td></tr><tr><td>Postback ID</td><td>p_postbackid</td><td>To receive unique action id of Postback</td></tr><tr><td>Partner event ID</td><td>event</td><td>To receive partner Event identifier in Offer18</td></tr><tr><td>Event name</td><td>adv_sub1</td><td>To receive Advertiser Event name</td></tr><tr><td>Bundle ID</td><td>p_package</td><td>To receive Bundle ID in Offer18</td></tr></tbody></table>

<figure><img src="https://295230641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F41f2EboJipeUA6flsLGK%2Fuploads%2Fj7OEYmP21GjRfruoWqht%2Fimage.png?alt=media&#x26;token=71da7001-c643-4551-ae99-9381ab3b66b2" alt=""><figcaption></figcaption></figure>

​​**Example - AppsFlyer tracking link for iOS Campaign**

{% code overflow="wrap" %}

```
https://app.appsflyer.com/{app_id}?pid=partner_int&af_siteid={aff_id}&c={offername}&af_sub_siteid={sub_aff_id}&af_c_id={offerid}&af_click_lookback=7d&clickid={tid}&advertising_id={googleaid}&idfa={iosidfa}&af_adset_id={offerid},{aff_id}|{aff_sub7}
```

{% endcode %}

In above example **\&af\_adset\_id** is the parameter which is being used to pass offer ID, affiliate ID and affiliate data to advertiser in Probabilistic Attribution.​​​
