# Awin clickref: how to use Awin click references properly

> How Awin's clickref and clickref2 to clickref6 work, where to place them in a link, the character rules, what advertisers can see, and where the values show up.

Source: https://hoplytic.com/blog/awin-clickref · Updated 2026-11-28 · Hoplytic Guides

Video version (72 seconds): [https://hoplytic.com/video/awin-clickref.mp4](https://hoplytic.com/video/awin-clickref.mp4)

## Video transcript

How do you use Awin click references? They're Awin's sub-ID, and you get up to six per link.

Here's an Awin link. Add your click references here: clickref, then clickref two up to clickref six. Always put them before the UED destination. Afterwards, they can be read as part of the merchant's address.

Keep values lowercase and under fifty characters, with no hash, plus, ampersand or quotes, and never any personal data.

The first one is the only one the advertiser sees, so put a neutral click ID there. Clickref two can say where the link lives. Use the rest for position, traffic source, placement or test variant.

Awin doesn't send postbacks to publishers, so a tracker uses the Publisher API or an uploaded transactions report. Clickref two to six show up in exports and the API.

Paste an Awin link and Hoplytic puts its click ID in clickref, with your choice of values in the rest. The Awin API connection syncs every hour and re-reads the last forty five days, so pending sales update by themselves.

The full guide is right below. Hoplytic: ad tracking made simple.

## Key points

- Awin accepts up to six click references per link: clickref, then clickref2 to clickref6.
- Only the first click reference is visible to advertisers, so choose what goes there with that in mind.
- Put click references before the ued= destination in a deep link, use lowercase, and avoid characters such as # + & ; | and quotes.
- The first click reference has its own report; the others come through report exports and the Publisher API.
- Former ShareASale afftrack values now show up as clickref2 in Awin reports.

Awin's sub-ID is called a click reference, or `clickref`. It's how you find out which article, video or ad produced each Awin sale, and Awin gives you more of them than most networks do.

**Short answer:** add `&clickref=yourvalue` to your Awin link, before any `ued=` destination, and Awin shows that value next to every click and sale it produces. You can add up to six: `clickref`, then `clickref2` to `clickref6`. Only the first one is visible to the advertiser. Keep values lowercase, under 50 characters, and free of `#`, `+`, `&` and quotes.

## What an Awin link with click references looks like

`https://www.awin1.com/cread.php?awinmid=1234&awinaffid=567890&clickref=c7f3a9e1&clickref2=mattress-review&clickref3=comparison-table&ued=https%3A%2F%2Fwww.merchant.com%2Fmattresses`

| Parameter | Meaning |
| --- | --- |
| `awinmid` | The advertiser's ID |
| `awinaffid` | Your publisher ID |
| `clickref` | Click reference 1 (visible to the advertiser) |
| `clickref2` to `clickref6` | Click references 2 to 6 (visible to you) |
| `ued` | The encoded deep link destination; keep it last |

Awin's guidance is to add click references before the destination URL. If `clickref` comes after `ued=`, it can be read as part of the destination. The general rules for placing sub-IDs are in [how to add a sub-ID to an affiliate link](https://hoplytic.com/blog/add-sub-id-to-affiliate-link).

## Character rules

- **Use lowercase** letters, numbers, dashes and underscores. Awin recommends lowercase and its list of approved characters.

- **Avoid** `#` `+` `"` `;` `&` `|` and `'`.

- **Stay under 50 characters.** The Click References report shows only the first 50, so longer values get cut off on screen.

- **No personal data.** Never put a visitor's email or name in a click reference.

## What goes in which click reference

Because the first click reference is the only one the advertiser sees, and the only one with its own report, decide what belongs there.

| Slot | Good use | Example |
| --- | --- | --- |
| `clickref` | A tracker's unique click ID, or the page or campaign name if you don't use a tracker | `c7f3a9e1` |
| `clickref2` | Where the link lives | `mattress-review` |
| `clickref3` | Position on the page | `comparison-table` |
| `clickref4` | Traffic source or ad platform | `pinterest` |
| `clickref5`, `clickref6` | Placement, creative, test variant | `pin-blue-v2` |

Two points about the first slot:

- If you'd rather the brand not see how you buy traffic (for example which ad network sent the click), don't put that in `clickref`; a neutral click ID reveals nothing.

- If you put a unique ID per click there, you'll produce many unique values. Awin's aggregated Click References report has a cap on unique values (its help pages mention 20,000), after which that report may stop aggregating. Transaction reports and the API still carry the value. Check Awin's current help page if you rely on that report.

## Where to see the values

- **Click References report:** clicks, sales and commission per value of the first click reference.

- **Transaction reports and exports:** each sale with its click references, which is where `clickref2` to `clickref6` show up.

- **Publisher API:** transactions with click references, for tools that sync automatically.

Awin also has an `extr` parameter for the encoded URL of the page the click came from, which appears in the transaction report's `publisher_url` column. It's an alternative to putting the page name in a click reference.

## When click references don't show up

| What you see | Likely cause | Check |
| --- | --- | --- |
| Sale with an empty click reference | The click came from a link without `clickref`, such as an old link or one made in Awin's tools without it | Search your content for that advertiser's links |
| Value cut short in the report | Longer than 50 characters | Shorten it, or read it from the transaction export |
| Value is part of the merchant URL | `clickref` placed after `ued=` | Move it before the destination |
| Literal text like `{clickid}` | A placeholder that nothing filled in | Only use macros where an ad platform or tracker replaces them |
| `clickref2` to `clickref6` missing from the report view | Only the first has its own report | Export transactions or use the API |

To see what actually reaches Awin, run the link through the [redirect checker](https://hoplytic.com/tools/redirect-checker). The hop at `awin1.com` should show your values exactly as you expect, for example `clickref=c7f3a9e1`. If a shortener or plugin sits in front, check that it doesn't drop or re-encode the query string.

Also remember that Awin records the sale with the click references of the click that won the sale. If a visitor clicks your review link on Monday and your newsletter link on Friday, the advertiser's attribution rules decide which click is credited, and the references come from that click.

## Coming from ShareASale

ShareASale programs have moved to Awin. Awin says old ShareASale links still track, and that values you passed in ShareASale's `afftrack` now appear as `clickref2` in Awin reports. Links that had no clicks in the 12 months before the move could not be upgraded and need replacing. The full picture is in [ShareASale afftrack](https://hoplytic.com/blog/shareasale-afftrack).

## Getting Awin sales back into a tracker

Awin doesn't send postbacks to publishers. To match Awin sales to clicks in a tracker you use the Publisher API or upload the transactions report with its click reference column. Sales usually appear in Awin within hours, then stay pending until the advertiser validates them, often for several weeks.

Hoplytic does both. Paste an Awin link and its click ID goes into `clickref`, with your choice of values in `clickref2` to `clickref6`. The [Awin API connection](https://hoplytic.com/help/network-connections) syncs every hour and re-reads the last 45 days, so pending sales that become approved or declined update by themselves. Awin's API returns at most 31 days per request; Hoplytic splits longer periods for you.

![Making a tracking link in Hoplytic: paste an Awin affiliate link, the network is detected and the click ID goes into its sub-ID, name the link, create it and copy the short link.](https://hoplytic.com/video/howto-link-create.gif)

*Paste your affiliate link, name it, create it, copy it.*

## Questions people ask

### What is clickref in Awin?

It's Awin's sub-ID: a value you add to your Awin tracking link that Awin stores with the click and shows again next to any sale. Use it to know which page, ad or click earned a commission.

### How many clickrefs can I use on Awin?

Up to six per link: clickref, clickref2, clickref3, clickref4, clickref5 and clickref6.

### Can the advertiser see my Awin clickref?

The advertiser can see the first click reference only. The other five are visible to you.

### Why is my clickref cut off in the Awin report?

Awin's Click References report shows only the first 50 characters of each value. Keep click references under 50 characters so you can read them in full.
