It is based on an identifier for every click. The network appends it to the landing page URL when it redirects the visitor. The shop stores it and sends it back with the order. With Awin, a landing page URL looks like this (format as shown in Awin’s documentation):
https://www.your-shop.co.uk/product/?awc=1001_1403695822_a430d81e22c9e8687f423efcf024fbaa
The entry on conversion tracking explains how Google Ads, Meta and Google Analytics measure campaign results. In affiliate tracking, by contrast, every recorded order triggers a commission. Each of these orders therefore has to be attributed to exactly one publisher, and a missing identifier costs that publisher money.
How an order is tracked
- Someone clicks a publisher’s affiliate link. The link passes through one of the network’s servers, which records the click with the publisher, the creative and the time.
- The network redirects to the shop and appends the click identifier to the URL: the awc parameter at Awin, the tduid parameter at Tradedoubler.
- A script from the network, or the shop itself, stores the identifier, usually in a cookie on the shop’s domain. Awin calls this script the MasterTag and requires it on every page of the shop.
- After the purchase, the confirmation page sends the network the order number, order value, currency, commission group and any voucher code used, together with the stored identifier.
- The network uses the identifier to attribute the order to the publisher and books the commission as pending.
- The advertiser checks the order, for example for cancellations and returns, and approves or declines the commission. The network then pays out approved commission.
The entry on affiliate networks explains what a network does beyond tracking.
Tracking methods compared
| Method | How it works | Strengths | Limits |
|---|---|---|---|
| Cookie and tag in the browser | A script stores the click identifier in a cookie on the shop’s domain. The tag on the confirmation page reads it and reports the order. | Quick to set up and can be managed in Tag Manager. | Fails if the script does not load because consent is missing or an ad blocker stops it, or if the cookie expires before the order. |
| Server-to-server (postback) | The shop stores the identifier when the visitor arrives and reports the order from its own server directly to the network. | The order is reported even if the browser blocks the script on the confirmation page. | Requires development work in the shop. The identifier must have been stored on arrival. |
| Voucher code | Each publisher receives its own codes. When a code is redeemed, the network attributes the order to the publisher it belongs to. | Works without a click or a cookie, for example for recommendations in videos or podcasts. | Codes spread, for example via voucher sites. The commission then goes to the code’s owner, even if another channel prompted the purchase. |
Networks weight these methods differently. According to its help pages, Awin requires all advertisers to send server-to-server reports in addition to the tag (Awin, as of August 2026). Tradedoubler’s developer documentation names the pixel on the confirmation page as its preferred method and offers server-to-server reporting as an alternative. The entry on client-side vs server-side tracking explains the general differences between measuring in the browser and on the server.
How browsers restrict affiliate tracking
According to their documentation, Awin and Tradedoubler store the click identifier in a cookie on the shop’s domain (a first-party cookie). Safari in particular limits this cookie (WebKit, read on 3 December 2026):
- Safari deletes cookies set by a script after seven days without interaction with the website.
- If the visitor arrives via a redirect from a domain that Safari classifies as a tracker, and the landing page URL carries parameters such as awc, Safari caps cookies set by script on that page at 24 hours.
If the visitor orders later, the identifier is gone and the order is not attributed to any publisher. Both rules apply only to cookies created with JavaScript. If the shop also stores the identifier on its server and reports orders server-to-server, the gap becomes smaller. The entry on cookies covers how Chrome and Firefox handle cookies.
When affiliate tracking requires consent
This section is our assessment and does not replace legal advice. Anyone who stores a click identifier in a cookie or other storage on the device, or reads it from there, falls under Section 25 of the German TDDDG. This is only allowed with consent, unless the storage is strictly necessary for a service the user has expressly requested. Whether commission billing falls under this exception is disputed. Check this with your data protection officer.
If the exception does not apply and there is no consent, the identifier must not be stored on the device. The order can then only be attributed to the publisher by means that store nothing on the device, such as a voucher code. Server-to-server reporting only helps here if the shop can keep the identifier until the order without storing anything on the device. The entry on Consent Mode v2 explains how consent and Google tags work together.
When several channels report the same sale
If Google Ads, Meta and an affiliate programme run in parallel, each system can claim the same sale. In the worst case, the shop pays commission on a sale that an ad generated. A tracking switch uses fixed rules to decide which channel a sale belongs to and fires only that channel’s tag.
How to test affiliate tracking
These checks uncover the most common errors:
- Test order: place an order through an affiliate link. Does it appear in the network with the correct order number, value and commission group? Awin’s conversion tag has a dedicated test field for this.
- Click identifier: is the parameter still in the URL after the redirect? Redirects within the shop, for example to a country version or a new product URL, sometimes remove it.
- Tag on every page: does the network’s script load on every page, including the first page once consent has been given?
- Confirmation page: does it report each order exactly once? Reloading the page must not send a second report to the network.
- Order value: is the agreed value passed on, for example net and excluding shipping? If the gross value is passed on although net was agreed, you pay 19% too much commission at 19% German VAT.
- Server-to-server: does the report arrive with the click identifier? Awin recommends sending it within two minutes of the browser reports.
- Monthly reconciliation: compare the number of orders, revenue and cancellations in the network with your shop backend. Large differences point to gaps in tracking or in order validation.
We check tracking, commission and publishers in our affiliate audit.
