Guide · Affiliate links

How to track affiliate link clicks without cookies

If you earn from affiliate links, the question that matters is which posts make money. Networks tell you what sold. They rarely tell you which post sent the reader. This is how I join the two up, without cookies on my site and without wrapping every link in a plugin.

By Paul O’Brien, who makes ReaderCount

Why clicks and sales don't line up

An affiliate network sees the click when it arrives at its own site and the sale when it happens. It doesn't know which of your pages the link was on. Your stats see the reader on your page but, unless you count it, not the click that leaves. So you end up with two halves: your popular posts in one place and your commissions in another.

To find which posts actually earn, you need three things: a count of clicks per page, a way to tag each link with the page it was on, and the network's report of sales by tag.

Three ways to count clicks

MethodHow it worksGoodNot so good
Redirect linksEvery link goes through an address on your site, such as /go/product, which counts the click and forwards the readerEasy to update a link in one placeA plugin to maintain, slower clicks, and some networks dislike masked links
Click events in your statsYour stats script notices clicks on links to other websites and counts themNo change to your links, works on every page at onceOnly as good as your stats tool's handling of clicks
The network's own reportThe network counts clicks it receivesNothing to set upUsually no idea which page sent them

None of these needs a cookie on your site. Counting a click is just counting an event, like counting a page view. Once the reader reaches the shop, the network uses its own tracking to credit you with the sale, and that's on its site, not yours.

Tie each sale to a post

Most networks let you add your own label to a link, often called a sub ID or click reference. Whatever you put there comes back in your sales report. If the label is the post the link was on, every sale tells you which post earned it.

For example, a link that ends clickref=best-email-providers on Awin will show best-email-providers next to any sale it leads to. You can type these by hand into each link, but on a site with hundreds of links that soon gets out of date. A tool that adds the page's address to the link at the moment of the click is far less work.

Tracking fields by network

NetworkField for your labelNotes
AwinclickrefShows in transaction reports
ImpactsubId1 to subId3Set on the tracking link
CJsidCalled Shopper ID in reports
Rakuten Advertisingu1Called Member ID or Signature
Amazon AssociatesTracking IDsAmazon doesn't take a free-text label; make a tracking ID per site or per section instead

Field names occasionally change, so check your network's help pages if a label doesn't come through.

What to look at each month

FigureWhat it tells you
Clicks per 1,000 readersHow well a post sends people to shops. Low means the links are buried or the post doesn't help people choose.
Earnings per 1,000 readersHow much a post earns for its traffic. The best way to compare a busy post with a quiet one.
Clicks by sourceWhether Google readers click more than social readers. They usually do, because they arrived looking to buy.
Clicks with no salesA broken link, an out-of-stock product or a shop that doesn't sell in your readers' country.

The posts I update first are the ones with plenty of readers but few clicks per 1,000. A clearer recommendation near the top, or a short comparison table, often doubles their clicks.

Disclosure and the rules

Whatever you track, readers must be able to tell a link earns you money. In the UK the Advertising Standards Authority expects affiliate content to be clearly labelled, and in the US the FTC has similar rules. A short line near the top of the post, such as "I may earn a commission if you buy through links on this page", is the usual way. Networks require it too.

How ReaderCount does it

ReaderCount counts every click on a link to another website with no setup, so affiliate clicks show up per post, per source and per country straight away. As a reader clicks, it adds the post's address to links for networks that support a label, so sales come back tied to the post. Connect Awin, Impact, CJ, Rakuten and others, or upload an Amazon report, and you see earnings per post and per 1,000 readers next to your stats. It also tells you when an affiliate link stops working. All of it is cookie-free, and the affiliate earnings guide shows how it looks.

Questions

Do I need a link cloaking plugin?

No. A plugin is handy for updating a link in one place, but you don't need one to count clicks if your stats count outbound clicks.

Will adding a label to my links stop the network crediting me?

No. The label is a field the network provides for exactly this. Use the field name it gives you and keep labels short.

Why are my clicks higher in my stats than in the network's report?

Some readers click twice, some close the tab before the shop loads, and some networks drop clicks they think are robots. A small gap is normal.

Sign up freeSee the live demo

Free for one website. No card needed.