> ## Documentation Index
> Fetch the complete documentation index at: https://clickflare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Submit an S2S Postback URL to an Affiliate Network in ClickFlare

> Configuring Your Postback URL for Accurate Conversion Tracking

To track conversions effectively in ClickFlare, you need to submit a properly configured **S2S postback URL** to your affiliate network. This ensures that every conversion is accurately attributed to the correct campaign and click. Below, you'll find a step-by-step guide on how to generate, modify, and submit a postback URL to your affiliate network.

***

## **1. Get the Postback URL from ClickFlare**

ClickFlare provides a predefined postback URL that must be copied and adjusted based on your affiliate network’s specifications.

### Steps to Get Your ClickFlare Postback URL:

1. Log in to your **ClickFlare** account.
2. Navigate to **Settings** > **Tracking URLs**.
3. Locate the **Postback URL** section and click **Copy** next to the standard or secure postback URL.

A sample ClickFlare postback URL looks like this:

```
https://your_clickflare_domain.com/cf/cv?click_id=REPLACE&payout=OPTIONAL&txid=OPTIONAL
```

* **click\_id** = The unique ClickFlare click ID (mandatory).
* **payout** = The revenue amount per conversion (optional).
* **txid** = A unique transaction ID for the conversion (optional).

***

## **2. Modify the Postback URL for Your Affiliate Network**

Before submitting the postback URL to your affiliate network, you must replace the placeholder values with the correct **tokens (macros)** provided by your network. Each affiliate network may have different token names, commonly referred to as **subIDs, macros, or tags**.

### **Steps to Modify Your Postback URL:**

1. **Find the click ID token** your affiliate network uses to store the ClickFlare click ID. This is usually the same parameter used to pass the click ID in the offer URL.
2. **Replace** `REPLACE` in `click_id=REPLACE` with the corresponding network token.
3. **If tracking revenue**, replace `OPTIONAL` in `payout=OPTIONAL` with the correct token for payout data.
4. **If needed**, add additional parameters such as `txid` or `currency`.

**Example of a Correctly Modified Postback URL:**

```
https://your_clickflare_domain.com/cf/cv?click_id={affiliate_network_clickid_token}&payout={affiliate_network_payout_token}&txid={affiliate_network_txid_token}
```

* `affiliate_network_clickid_token` = The token used by your affiliate network to send back the click ID.
* `affiliate_network_payout_token` = The token for passing payout values (if applicable).
* `affiliate_network_txid_token` = The token for a unique transaction ID (if applicable).

If you do **not** want to track payouts or transaction IDs, remove those parameters.

***

## **3. Submit the Postback URL to Your Affiliate Network**

Once the postback URL is properly modified, it needs to be added to your affiliate network’s dashboard. This process may vary depending on the network’s platform.

### **Where to Submit the Postback URL:**

* Some networks allow postbacks to be set **at the account level**, meaning it will apply to all campaigns.
* Others require the postback URL to be entered **per campaign or per offer**.
* If your network is already integrated with ClickFlare, you may only need to enter your ClickFlare domain.

### **Steps to Submit the Postback URL:**

1. Log in to your **affiliate network account**.
2. Navigate to the **tracking or postback settings** section.
3. Paste the **modified ClickFlare postback URL** into the appropriate field.
4. Save and confirm the changes.

If unsure, consult your affiliate network’s documentation or support team for guidance.

***

## **4. Testing Your Postback URL**

After submitting your postback URL, it's essential to test whether conversions are being tracked correctly.

### **How to Test the Postback URL:**

1. Get a test **Click ID** from ClickFlare.
2. Manually trigger the postback URL using that Click ID. Example:

   ```
   https://your_clickflare_domain.com/cf/cv?click_id=f181f3af-de0b-4c7e-9c0c-27f36bb4089a&payout=10
   ```
3. Check ClickFlare to see if the conversion was recorded.
4. If the conversion appears, your postback URL is correctly set up.

**FREQUENTLY ASKED QUESTIONS**

Got questions? Find the answers below:

> **Q1**: What happens if I use the wrong click ID token in my postback URL?

**A1**: If the wrong token is used, ClickFlare will not be able to match the conversion to the correct click, resulting in lost or inaccurate conversion data.

> **Q2**: Can I track revenue automatically using the postback URL?

**A2**: Yes, you can pass payout values dynamically by including the appropriate affiliate network token in the payout parameter.

> **Q3**: Do all affiliate networks support postback tracking?

**A3**: No, some networks only support pixel tracking. Always check your network’s documentation to confirm postback URL compatibility.

> **Q4**: Can I submit multiple postback URLs for different networks?

**A4**: Yes, if you work with multiple networks, you should configure separate postback URLs for each network using their specific tokens.

> **Q5**: My postback is not working. What should I do?

**A5**: Check the following:

* Ensure the click ID is being passed correctly.
* Verify that the postback URL is correctly formatted with the right tokens.
* Test the postback manually with a valid Click ID.
* Contact your affiliate network support for assistance.

## Related Resources:

* [Overview of Conversion Tracking Methods in ClickFlare](/docs/en/getting-started-with-click-flare/conversion-tracking-methods-explained)
* [Tracking Conversions Using S2S Postback URL](/docs/en/tracking/tracking-conversions-using-s2s-postback)
* [Tracking Conversions Using a Conversion Tracking Pixel](/docs/en/tracking/track-conversions-using-a-conversion-tracking-pixel)
* [Troubleshooting S2S Postback URL in ClickFlare](/docs/en/tracking/troubleshooting-s2s-postback-url-in-clickflare)
