# 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="/files/WtlFKYndpRP3tN3TaWCv" 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.​​​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.offer18.com/network/mobile-attribution-integration/appsflyer/advanced-privacy-postback.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
