Tracking & Links
How your clicks and transactions are captured — and how to create your own links with tracking information.
How Tracking Works
When a visitor clicks on a creative or link on your site, the following happens:
The cookie stores your PartnerID and links the click to a later purchase. As long as the cookie is valid, transactions are attributed to you — even if the customer orders days later.
Cookie Duration
The cookie duration (e.g. 30 days) is set by the program operator for each partner program. You can find the value under Program → Information in the "Overview" tab. The longer the cookie duration, the more time the customer has to place an order — and the higher your chance of earning a commission.
Last-Cookie-Wins
If a customer clicks through multiple partners, the last click counts (Last-Cookie-Wins). The newest cookie overwrites older ones. That's why it's important that your links and creatives are prominently placed.
Link Types
Depending on which tracking method your program uses, your partner links look different:
Standard Links (go.cgi)
The most common link type. On click, QUALITYCLICK redirects the visitor via go.cgi, sets the cookie and forwards to the target page:
https://partner.your-site.com/go.cgi?pid=27&wmid=22&cpid=1&target=defaultYou don't need to build this link yourself — it's provided ready-made when you copy the creative code or use the deeplink generator.
Anchor Links
For programs with anchor tracking, your links look like normal URLs with an anchor at the end:
https://www.shop.com/product.html#Q4S02C12The anchor contains encoded tracking information:
- Q + number = The CreativeID
- S + text = Your SubID (optional)
- C + value = Your PartnerID (encrypted)
A JavaScript on the target page reads the anchor and sets a first-party cookie. The advantage: the link looks organic to search engines and has no redirect.
go.cgi — Parameter Reference
If you want to build your own links (e.g. for newsletters, social media or custom landing pages), use go.cgi with the following parameters:
| Parameter | Description | Required | Placeholder |
|---|---|---|---|
pid | Your Partner ID | Yes | <% PID %> |
cpid | Program / Campaign ID (program 1 is used if not specified) | Recommended | - |
wmid | Creative ID (or "cc" for deeplinks) | Yes | <% WMID %> |
target | Click target — alias or direct URL | No | — |
subid | Your SubID for custom analysis | No | <% SUBID %> |
prid | Commission product ID (for statistics) | No | — |
clickid | ClickID for server-to-server tracking | No | <% CLICKID %> |
rwmid | Actual creative ID for deeplinks (for correct statistics) | No | <% WMID %> |
ref | Referrer (logged) | No | — |
var1-var3 | Free values that are inserted into a click target with corresponding placeholders (only if provided for by the program) | No | - |
Example: Building a Custom Deeplink
https://partner.your-site.com/go.cgi
?pid=27
&wmid=cc
&cpid=1
&subid=newsletter_april
&target=https://www.shop.com/offer.htmlwmid=ccmeans: no predefined click target, but a direct URL as targetsubid=newsletter_aprilmarks the click for your SubID statistics
SubIDs — Your Own Analysis
SubIDs are freely chosen identifiers that let you distinguish your own traffic sources and analyze them in the SubID statistics.
Examples of useful SubIDs:
header_banner/sidebar_widget/footer_link— Placement on your sitenewsletter_kw14/facebook_april— Marketing channel and periodcompare_phones/review_laptop— Content context
SubID with Standard Tracking
Append the parameter &subid=YOUR_SUBID to the creative link:
https://partner.your-site.com/go.cgi
?pid=27&wmid=22&cpid=1&subid=top_banner&target=defaultSubID with Anchor Tracking
Insert the SubID before the C, starting with S:
https://www.shop.com/product.html#Q4Stop_bannerC12Nofollow
Some affiliate managers enable the nofollow attribute for your partner links. In this case, your creative codes contain the attribute rel="nofollow". This means search engines won't follow the link — it has no impact on tracking or your commission, but protects the shop from potential negative SEO effects from outgoing links.
Conversion Tracking for Partners
With conversion tracking you can additionally record your own sales and leads in your own system, e.g. in Google Ads or your own tracking. Your code is executed on the shop's confirmation page together with the QUALITYCLICK tracking code when a transaction is generated through you.
How to Set Up Your Code
- Open Program → Conversion tracking and select the program.
- Check the note "Conversion-Tracking for the program is …". You can only store a code if the program operator has activated the function for the program.
- Insert your HTML code (e.g. a pixel or script) into the field. For direct server-to-server tracking, enter only a link that starts with
http://orhttps://. - Click "Save".
After saving, the status shows "Approval pending". Your affiliate manager is notified and reviews the code. The code only becomes active after their approval - the status then changes to "Confirmed". If you change a code that has already been approved, it must be approved again. If you delete the content of the field and save, no code is executed anymore.
https://.Placeholders
You can use the following placeholders in your code. When the code is executed, they are replaced with the values of the respective transaction:
| Placeholder | Content |
|---|---|
<% PID %> | Your PartnerID |
<% CPID %> | ProgramID |
<% TID %> | Transaction ID (usually the order number) |
<% SubID %> | SubID |
<% Umsatz %> | Revenue of the transaction |
<% Kunde %> | Customer parameter of the transaction |
<% Produkt %> | ProductID |
https://www.your-site.com/conversion?order=<% TID %>&amount=<% Umsatz %>&subid=<% SubID %>