PublisherScale

Affiliate tracking is what connects a click on your website, newsletter, social profile or other publishing channel to the commission you eventually earn.

On the surface, the process sounds simple: a reader clicks an affiliate link, buys something, and the publisher receives a commission.

In practice, affiliate tracking can involve redirects, cookies, click IDs, SubIDs, server-to-server tracking, attribution windows, multiple devices and several different affiliate networks.

For publishers working with more than one program or traffic source, understanding how this works is increasingly important.

This guide explains affiliate tracking from a publisher's perspective, including how sales are attributed, where tracking can fail and how to build a more reliable setup.

What is affiliate tracking?

Affiliate tracking is the technology used to identify when a customer referred by a publisher completes a desired action with an advertiser.

That action might be:

  • A purchase
  • A subscription
  • A lead
  • An app installation
  • A booking
  • A trial signup

The advertiser or affiliate network then attributes that conversion to the publisher responsible for the referral.

Typical affiliate journey
Publisher → Affiliate link → Network → Advertiser → Conversion → Commission

Every step needs to be recorded correctly for the publisher to receive credit.

How affiliate tracking works

Imagine you publish an article comparing five hotel booking websites. A visitor clicks your affiliate link for one of those companies.

Instead of sending the visitor directly to the advertiser, the affiliate link normally passes through a tracking system first.

The system may record information such as:

  • Your publisher ID
  • The advertiser or campaign
  • The time of the click
  • A unique click identifier
  • Optional tracking parameters
  • SubIDs you have added
  • In some cases, device or session information

The visitor is then redirected to the advertiser's website. If the visitor completes a qualifying purchase, the advertiser reports that conversion back to the affiliate network or tracking platform.

The platform attempts to match the conversion with the original click. If attribution is successful, the commission appears in your affiliate account.

What is an affiliate link?

An affiliate link contains information that identifies the publisher responsible for sending the visitor.

A normal URL might look like:

example.com/product

An affiliate URL can contain additional parameters identifying the network, advertiser and publisher.

Publishers generally don't need to understand every parameter inside an affiliate URL, but several are particularly useful.

Publisher ID

Identifies your affiliate account so the network knows which publisher should receive credit.

Advertiser ID

Identifies the merchant, program or campaign receiving the visitor.

Click ID

A unique identifier that can allow the original click to be matched with a later conversion.

SubID

A publisher-defined parameter used to identify the page, placement, campaign or traffic source behind a click.

Why SubIDs matter

SubIDs are additional parameters publishers can use to identify where a click originated.

For example:

article-best-laptops
youtube-review
newsletter-august

This makes it possible to see which page, placement or campaign generated a sale.

Publisher tip

Once a publisher operates across multiple articles, sites or traffic sources, consistent SubID tracking can turn basic network reporting into genuinely useful performance data.

What are affiliate cookies?

Cookies have traditionally been one of the main ways affiliate networks remember that a visitor came from a particular publisher.

When someone clicks an affiliate link, a tracking cookie may be placed in their browser. If they return and purchase later, the affiliate network may use that information to associate the conversion with the publisher.

Cookie duration

Affiliate programs often specify a cookie duration.

24-hour window

The visitor generally needs to complete the qualifying action within 24 hours of the affiliate click.

30-day window

The referral may remain eligible for attribution for considerably longer after the initial click.

A longer cookie duration does not automatically mean a program will generate more revenue, but attribution windows can matter considerably for products with longer purchasing cycles.

Affiliate attribution

Attribution determines which publisher receives credit for a conversion.

This becomes more complicated when a customer interacts with multiple marketing channels before buying.

01

A customer reads your product review.

02

They click your affiliate link but leave without purchasing.

03

Two days later they click another publisher's affiliate link.

04

They complete the purchase.

Which publisher receives the commission depends on the attribution rules used by the advertiser or affiliate network.

Last-click attribution

Under a last-click model, the final eligible affiliate interaction before the conversion usually receives the credit.

First-click attribution

A first-click model instead gives credit to the publisher or channel responsible for the initial eligible referral.

Multi-touch attribution

More sophisticated systems may attempt to assign value to several interactions across the customer's journey rather than awarding all credit to a single touchpoint.

Attribution overrides

Other marketing interactions may affect attribution after an affiliate click, depending on the advertiser's rules.

These can include:

  • Another affiliate
  • Coupon or cashback partners
  • Paid search
  • Email
  • Retargeting
  • Direct advertiser campaigns
Important

Commission percentage is only one part of evaluating an affiliate program. Attribution rules, conversion rate, average order value and tracking reliability can all materially affect publisher revenue.

Client-side vs server-side affiliate tracking

There are several technical approaches to affiliate tracking, but it is useful for publishers to understand the distinction between browser-dependent tracking and server-side tracking.

Client-side tracking

Tracking takes place partly inside the visitor's browser, often using cookies, JavaScript or tracking pixels.

  • Relatively simple to implement
  • Can depend on browser behaviour
  • Can be affected by tracking prevention
  • Can be affected by ad blockers or consent setup

Server-side tracking

Conversion information is communicated directly between systems rather than relying exclusively on the customer's browser.

  • Can reduce browser dependency
  • Often uses click identifiers
  • Can improve data resilience
  • Still requires correct implementation

What is postback tracking?

Postback tracking, sometimes referred to as server-to-server or S2S tracking, can use unique click IDs to connect clicks with conversions.

01

A visitor clicks an affiliate link.

02

The tracking system generates or records a click ID.

03

The click ID is passed through the conversion journey.

04

The visitor completes the qualifying action.

05

Conversion information is sent back to the appropriate tracking system.

Because this approach does not depend entirely on retaining information inside the customer's browser, it can be more resilient in certain tracking environments.

Why affiliate tracking can fail

Publishers sometimes see discrepancies between the traffic they send and conversions appearing inside affiliate reporting.

There can be many explanations.

Tracking prevention

Browsers and devices may restrict technologies used as part of the attribution process.

Cookie deletion

A customer may remove browser data before completing their purchase.

Cross-device purchases

Someone might discover a product and click on their phone before later completing the purchase on a laptop.

Consent configuration

Incorrect consent-management implementations can interfere with tracking technologies that are required for attribution.

Broken affiliate links

Incorrect parameters, malformed links or badly configured redirects can remove information required for tracking.

Advertiser-side issues

Tracking implementation can also fail on the advertiser or network side.

Reporting differences

Affiliate platforms may define and report clicks, transactions, commissions and statuses differently. Reporting delays can create additional apparent discrepancies.

How publishers should track affiliate performance

Relying exclusively on individual affiliate network dashboards becomes increasingly difficult as a publisher adds more programs, websites and traffic sources.

At minimum, it is useful to understand:

  • Affiliate clicks
  • Conversions
  • Conversion rate
  • Sales revenue
  • Publisher commission
  • Earnings per click
  • Revenue per page
  • Revenue by traffic source

EPC

EPC means earnings per click. It is one of the simplest ways to compare the commercial performance of affiliate traffic.

EPC formula
Affiliate commission ÷ Affiliate clicks = EPC

Example: €500 commission ÷ 2,000 affiliate clicks = €0.25 EPC

EPC can help publishers compare advertisers, placements and content even when the underlying commission structures differ.

Use SubIDs wherever possible

One of the simplest improvements a publisher can make is to use SubIDs consistently.

Instead of knowing only that an advertiser generated €2,000 in commission, you could know that:

  • €900 came from one comparison article
  • €500 came from your newsletter
  • €350 came from YouTube
  • €250 came from another article

That changes how useful the data becomes.

You can start making decisions about which:

  • Content to update
  • Links to promote
  • Advertisers to prioritise
  • Traffic sources to invest in
  • Pages to improve

The problem with multiple affiliate networks

Managing one affiliate program is relatively easy. Managing ten networks is not.

Each network may have its own:

  • Dashboard
  • Tracking parameters
  • Reporting format
  • Attribution terminology
  • Currency
  • API
  • Transaction status
  • Commission structure

A publisher might therefore have traffic data in an analytics platform, affiliate clicks across several networks, conversions in different dashboards and commission information scattered across multiple reports.

This makes seemingly simple questions surprisingly difficult to answer.

The questions that matter

Which page generated the most affiliate revenue? Which traffic source has the highest EPC? Which advertiser converts best? Which network is underperforming? Which content should be updated next?

As publisher operations grow, consolidating affiliate data into a central reporting system can make these questions considerably easier to answer.

Affiliate tracking vs affiliate analytics

The terms are sometimes used interchangeably, but they describe slightly different things.

Affiliate tracking

Primarily concerned with recording referrals, clicks, transactions and conversions.

Affiliate analytics

Uses tracking data to understand performance and make better commercial decisions.

Tracking tells you: a sale happened.

Analytics tells you: this article generated 43 sales from 1,900 affiliate clicks and earns considerably more per visitor than comparable content.

For a publisher trying to scale, the second insight is ultimately much more useful.

What should a good affiliate tracking setup include?

There isn't one perfect setup for every publisher. But a mature system generally tries to provide visibility across the full commercial journey.

Traffic

Where did the visitor come from?

Content

Which page, video, newsletter or campaign generated the click?

Click

Which affiliate link or placement did the visitor use?

Advertiser

Which merchant or commercial partner received the visitor?

Conversion

Did the visitor complete the desired action?

Revenue

How much publisher commission did that conversion generate?

Ideally, publishers should be able to connect as much of this journey as possible without making their tracking stack unnecessarily complex.

Affiliate tracking checklist for publishers

Before scaling an affiliate operation, check whether you can answer these questions confidently.

✓ Can you track affiliate clicks by page?
✓ Are you using SubIDs consistently?
✓ Can you identify revenue by content?
✓ Do you know your EPC by advertiser?
✓ Can you compare advertisers fairly?
✓ Are your affiliate links working correctly?
✓ Do you regularly check for broken links?
✓ Can you combine data from multiple affiliate networks?
✓ Do you understand the attribution model of your largest partners?
✓ Can you identify sudden drops in conversion rate or affiliate revenue?

If the answer to several of these questions is no, there is probably room to improve the tracking setup before investing heavily in more traffic.

Final thoughts

Affiliate tracking isn't only a technical concern. For publishers, it is the foundation of good monetisation decisions.

If you don't know which content, links, advertisers and traffic sources generate revenue, it becomes much harder to know where to invest your time.

A basic affiliate operation may only need individual network dashboards and sensible SubID tracking.

As the business grows across more websites, networks and traffic sources, centralised affiliate reporting and more advanced attribution become increasingly useful.

The goal isn't to collect every possible datapoint. It's to have enough reliable information to answer the questions that actually help you grow your publishing business.