# Integrations for affiliates

## Postback URL

{% hint style="info" %}
[Postback URLs](https://zeropark.com/blog/postback-affiliate-marketing/), in general, are URLs that are used to transfer information about conversion. They are sometimes called callbacks, server-to-server (S2S), or cookie-less conversion tracking. Postback allows servers to communicate with each other directly. If a client is not involved, no cookies would be used on a visitor’s computer. Once activated by a source platform (an affiliate network or tracker), these links would send information to the target platform (a tracker or traffic source) in a blink of an eye.
{% endhint %}

In short, **Postback URL** refers to the process of getting notified about a conversion event via a third-party server.

To enable this integration, go to **Settings** > **Integration** > **Postback URL** > toggle it on.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FUdtgHLWBvR32cv73F1zJ%2Fimage.png?alt=media&#x26;token=c01fc438-e634-4351-a9b1-321c691b9dd2" alt=""><figcaption></figcaption></figure>

Enabling **Postback URL** allows your affiliates to enter their postback URL with **parameters** so the required information will be sent to their **third-party server**.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FF5glo7UQkZ5gKUIWRRJV%2FScreenshot_21.png?alt=media&#x26;token=88369a80-a92e-4280-a0ee-aeee6a4f45cc" alt=""><figcaption><p>Affiliate admin</p></figcaption></figure>

A postback URL template looks like this:

[https://domain.test?affiliate\_id={affiliate\_id}\&program\_id={program\_id}\&sca\_source={sca\_source}\&order\_id={order\_id}\&total\_sales={total\_sales}\&total\_commission={total\_commission}](https://domain.test/?affiliate_id={affiliate_id}\&program_id={program_id}\&sca_source={sca_source}\&order_id={order_id}\&total_sales={total_sales}\&total_commission={total_commission})

## Facebook Pixel

<mark style="color:blue;">**Facebook pixel**</mark> helps affiliates embed their Facebook pixel IDs on your store to track pageview/conversion from their affiliate links. To enable this integration, go to **Settings** > **Integration** > **Facebook pixel** > switch it on.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2F7nkQiRTGFVUeg7XcitlL%2Fimage.png?alt=media&#x26;token=0f01fde4-4be7-4a31-8837-d271bf67ae2c" alt=""><figcaption></figcaption></figure>

After you enable <mark style="color:blue;">**Facebook pixel**</mark>, there will be a field called **Facebook pixel** for affiliates to enter their pixel ID on the affiliate account page:

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FvnSz4p95OvsEQK8tQtmG%2Fimage.png?alt=media&#x26;token=3792ddf5-888a-4c72-8b91-a4fcd7cfac0f" alt=""><figcaption><p>Affiliate admin > Settings</p></figcaption></figure>


---

# 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://docs.uppromote.com/settings/integrations/for-affiliates.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.
