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

# ShareASale and ClickFlare Integration Guide

> Track ShareASale offers in ClickFlare: ShareASale programs now run on Awin, so pass the click ID in clickref2 and use Awin's Transaction Notifications.

![ShareASale and ClickFlare Integration](https://mintcdn.com/clickflare/gS923ib4WFySqxSL/images/integrations/covers/shareasale.png?fit=max\&auto=format\&n=gS923ib4WFySqxSL\&q=85\&s=7cd324739afbb9582ea59d633c9b8b83)

ShareASale was a US affiliate network. It is now part of **Awin**, and its programs run on the Awin platform. If you promoted ShareASale merchants, you now track them as Awin programs, with an Awin publisher account, Awin tracking links and Awin's postback.

This page explains what changed and gives you the essentials. For the full setup, follow the [Awin guide](/docs/en/integrations/awin-click-flare-integration-guide.md).

> [!TIP]
>
> Only need the two values? The [Click ID & postback macros](/docs/en/integrations/click-id-and-postback-macros.md?q=awin) page has the Awin values ready to copy with your tracking domain.

***

## At a glance

To set up ShareASale with ClickFlare:

1. Join the programs on Awin.
2. Create the Awin affiliate network.
3. Create the offer with an Awin link.
4. Turn on Transaction Notifications.

Each step is explained in [Setup essentials](#setup-essentials).

| | ShareASale + ClickFlare |
| - | - |
| **How it connects** | S2S postback via Awin Transaction Notifications (GET) |
| **What reaches ClickFlare** | Commission and transaction ID per click |
| **Timing** | Real time, per conversion |
| **Key parameters** | `clickref2`, `!!!clickRef2!!!`, `!!!commission!!!`, `!!!transactionId!!!` |
| **Works with** | Former ShareASale programs, now on Awin |
| **Good to know** | The ShareASale platform closed on October 6, 2025. Old links redirect. |

***

## What happened to ShareASale

* **Awin has owned ShareASale since 2017.** Awin says it is "bringing everything onto one platform", and new customers launch directly on Awin.
* **The ShareASale platform closed on October 6, 2025**, according to Awin's help center. Advertisers were moved ("upgraded") to Awin.
* **shareasale.com now redirects to Awin.** The home page and the old `account.shareasale.com` login both send you to an Awin page headed "ShareASale is now part of Awin".

There is no ShareASale template in ClickFlare. Use the **AWIN** template instead.

Some terms changed in the move. These are the ones you'll meet as a publisher:

| ShareASale term | Awin term |
| - | - |
| Merchant | Advertiser (or merchant) |
| Affiliate | Publisher (or partner) |
| Order ID | Order reference |
| Locking period | Auto-validation |
| Coupon code | Voucher code |

***

## How the data flows

```text theme={null}
Ad click
  → https://trk.yourdomain.com/cf/r/CAMPAIGN?...
     (ClickFlare records the click and generates the click ID)
  → Awin tracking link with clickref2=CF_CLICK_ID
     (Awin stores the ClickFlare click ID as ClickRef2)
  → Visitor buys on the advertiser's site
  → Awin sends your Transaction Notification:
     https://trk.yourdomain.com/cf/cv?click_id=CF_CLICK_ID&payout=4.20&txid=AWIN_TRANSACTION_ID
     (ClickFlare matches the conversion to the original click)
```

| Link | Built from | Awin side | ClickFlare side |
| - | - | - | - |
| **Offer URL** (in ClickFlare) | Awin's parameter + ClickFlare's token | `clickref2` | `{cf_click_id}` |
| **Postback URL** (in Awin) | ClickFlare's parameter + Awin's macro | `!!!clickRef2!!!`, `!!!commission!!!`, `!!!transactionId!!!` | `click_id`, `payout`, `txid` |

> [!NOTE]
>
> The link parameter is lowercase (`clickref2`); the macro is camel case (`!!!clickRef2!!!`). Use ClickRef2 rather than ClickRef1: only ClickRef1 is visible to advertisers.

***

## Setup essentials

The full walkthrough is in the [Awin guide](/docs/en/integrations/awin-click-flare-integration-guide.md). In short:

**1. Join the programs on Awin**

Log in to Awin with your publisher account and check you're approved in the former ShareASale programs you want to run. Your old ShareASale login now leads to Awin.

**2. Create the Awin affiliate network in ClickFlare**

In the campaign editor, create the affiliate network from the offer's **Affiliate Network** field (or under **Affiliate Networks → + New**). Pick the **AWIN** template. It fills in **Click Id** `!!!clickRef2!!!`, **Payout** `!!!commission!!!` and **Transaction ID** `!!!transactionId!!!`. Select your own **Tracking Domain**, keep **S2S Postback URL**, set **Payout currency**, and copy the postback URL:

```text theme={null}
https://trk.yourdomain.com/cf/cv?click_id=!!!clickRef2!!!&payout=!!!commission!!!&txid=!!!transactionId!!!
```

![The AWIN template in ClickFlare: Click Id is !!!clickRef2!!!, Payout is !!!commission!!! and Transaction ID is !!!transactionId!!!](https://mintcdn.com/clickflare/b2lpDlx8sR69TsUK/images/integrations/awin/clickflare-awin-template-parameters.png?fit=max\&auto=format\&n=b2lpDlx8sR69TsUK\&q=85\&s=7bc5cd1d2f3b8a5d41c806f3d0666315)

![The Conversion tracking section of the AWIN network in ClickFlare, with the generated postback URL: click\_id=!!!clickRef2!!!\&payout=!!!commission!!!\&txid=!!!transactionId!!!](https://mintcdn.com/clickflare/b2lpDlx8sR69TsUK/images/integrations/awin/clickflare-awin-postback-url.png?fit=max\&auto=format\&n=b2lpDlx8sR69TsUK\&q=85\&s=cae39d933b4d1bc0b828a2cdeb842bac)

**3. Create the offer with an Awin link**

Build the link in Awin's **Link Builder** and type `{cf_click_id}` in **ClickRef2**, or add `clickref2={cf_click_id}` by hand before the destination URL. Paste it into **Offer URL** and set the payout to **Auto**.

![The Offer URL field of the ClickFlare New Offer form with a Awin link ending in clickref2=\{cf\_click\_id}](https://mintcdn.com/clickflare/b2lpDlx8sR69TsUK/images/integrations/awin/clickflare-awin-offer-url.png?fit=max\&auto=format\&n=b2lpDlx8sR69TsUK\&q=85\&s=7b55187236df1ff894f5d57184667e5a)

**Append Click ID to Offer Url** would add `clickref2={cf_click_id}` at the end of the link, after the destination URL. Awin asks for ClickRefs before it, so add the parameter yourself and leave the toggle off.

**4. Turn on Transaction Notifications**

In Awin, go to **Toolbox → Transaction Notifications**. Paste the ClickFlare URL as the **Call-back URL**, choose **GET** as the **Call-back method** and click **Submit**. If the menu item is missing, raise a support ticket with Awin to request access.

***

## Moving existing ShareASale offers

If you have ClickFlare offers that still point to ShareASale tracking links:

1. Create the Awin affiliate network as above. One network covers all your Awin programs.
2. For each offer, build a new Awin link for the same advertiser and replace the old URL in **Offer URL**, with `clickref2={cf_click_id}` in it.
3. Switch the offer's **Affiliate Network** to the Awin network.

Campaigns, landers and paths stay as they are. Conversions recorded before the switch keep their old data in ClickFlare's reports.

> [!WARNING]
>
> Don't rely on old ShareASale links to keep tracking. The platform has closed, and the ShareASale domains now redirect to Awin's sign-up pages. Check every old link before you send traffic to it.

***

## Locking is now validation

On ShareASale, sales locked on the 20th of each month. On Awin, a tracked sale starts as a **pending** commission. The advertiser approves, amends or declines it during the program's validation period, and anything not reviewed in time is approved automatically.

Awin sends the Transaction Notification when it records the sale, so ClickFlare shows the commission as it was first tracked. Awin's documentation doesn't say whether a second notification follows when a commission is approved or declined. Compare ClickFlare with Awin's transaction report before you judge a program, especially one with many returns.

***

## Troubleshooting

> [accordion] I can't find a ShareASale template in ClickFlare
>
> There isn't one, because ShareASale programs now run on Awin. Search for **AWIN** in the template list.

> [accordion] My old ShareASale login takes me to an Awin page
>
> That's expected. ShareASale's site and login redirect to Awin. Log in to Awin, or sign up as an Awin publisher if you don't have an account yet.

> [accordion] Awin transactions don't reach ClickFlare
>
> Check that **Transaction Notifications** are saved with the **GET** method, that the offer URL carries `clickref2={cf_click_id}`, and that the lander CTA uses the ClickFlare click URL. The [Awin guide](/docs/en/integrations/awin-click-flare-integration-guide.md) has the full checklist, and [Troubleshooting S2S postbacks](/docs/en/tracking/troubleshooting-s2s-postback-url-in-clickflare.md) covers the general checks.

***

## FAQ

> [accordion] Does ClickFlare integrate with ShareASale?
>
> Yes, through Awin, which now runs the former ShareASale programs. You pass the click ID in `clickref2`, and Awin's Transaction Notifications send each transaction to ClickFlare's postback.

> [accordion] Is the payout my commission or the order value?
>
> Your commission. The template uses `!!!commission!!!`. `!!!transactionAmount!!!` is the total sale amount, which isn't what you earn.

> [accordion] Did my commission rates carry over?
>
> Awin's help center says advertisers' commission rates and custom rates carried over in the upgrade. Check the program terms on Awin to be sure, since the advertiser manages them.

***

## Related

> [card] [Macro reference](/docs/en/integrations/click-id-and-postback-macros.md)
>
> Every network's values

> [card] [Awin guide](/docs/en/integrations/awin-click-flare-integration-guide.md)
>
> The full setup

> [card] [Postback issues](/docs/en/tracking/troubleshooting-s2s-postback-url-in-clickflare.md)
>
> Troubleshoot S2S


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.