Tracking Examples
Complete implementation examples for each tracking method — from the partner link to the recorded transaction.
Tracking BasicsTracking PixelAnchor TrackingClick & View TrackingSession TrackingS2S / ClickIDCookie RoutingBasket TrackingTracking Examples
Standard tracking (cookie)
The classic flow via go.cgi:
1. Creative link
https://partner.your-site.com/go.cgi
?pid=2&cpid=1&wmid=3&target=SummerSale2. Tracking pixel
<script type="text/JavaScript"
src="https://partner.your-site.com/get_trans.cgi
?cpid=1&tid=ORD-2026-001&umsatz=95.50
&produkt=Sale&js=1">
</script>Deeplink tracking
The partner links directly to a product page:
Deeplink
https://partner.your-site.com/go.cgi
?pid=2&cpid=1&wmid=cc
&target=https://www.your-shop.com/product/summer-dressesAnchor tracking
No redirect, organic link with # fragment:
1. Organic link
https://www.your-shop.com/summer-dresses#Q4S02C12getpid.js included in the <head> section of the landing page
Special tracking pixel (under System → Tracking Codes)
ClickID / Server-to-Server
For cookieless tracking, mobile and apps. Recommendation: use client pixel and S2S in parallel.
Click target:
1. Link with ClickID
https://www.your-shop.com/landing?qc_clickid=<% CLICKID %>Store ClickID in shop (PHP example):
2. Store ClickID in session
<?php
// On the landing page, transfer the ClickID from the URL to the session
if (!empty($_GET['qc_clickid'])) {
$_SESSION['qc_clickid'] = $_GET['qc_clickid'];
}
?>Client pixel (order confirmation page):
3a. JavaScript pixel (real-time)
<script src="https://partner.your-site.com/get_trans.cgi
?js=1&cpid=1&tid=ORD-2026-001
&clickid=<?= rawurlencode($_SESSION['qc_clickid'] ?? '') ?>
&produkt=Sale&umsatz=95.50">
</script>S2S postback (server-side, a few seconds after the client pixel):
3b. PHP Server-to-Server fallback
<?php
$params = http_build_query([
'cpid' => 1,
'tid' => 'ORD-2026-001',
'clickid' => $_SESSION['qc_clickid'] ?? '',
'produkt' => 'Sale',
'umsatz' => 95.50,
]);
$ch = curl_init("https://partner.your-site.com/get_trans.cgi?{$params}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
curl_exec($ch);
curl_close($ch);
?>💡Tip
If the doublet treatment of the program is set to "Filter double transaction IDs" (System → Program management → Edit program), QUALITYCLICK detects duplicates based on the TransactionID. You can then use pixel and S2S call in parallel - the transaction is only created once. Check this setting before you combine both methods.
Product feed tracking
Product data feeds are set up individually for you by the QUALITYCLICK team. Your partners see the feed in their account as soon as it is available.
💡Tip
If you would like to set up a product data feed, contact info@qualityclick.com.
Tracking Basics
Tracking methods comparison
Tracking Pixel
All parameters in detail
Anchor Tracking
Set up getpid.js
Still have questions?
Our team helps you with the integration – personally and competently.