Anchor Tracking
Organic partner links without redirects and without third-party cookies — using a # fragment at the end of the URL.
Advantages
- Organic links: Partner links look like regular links to your site
- First-party cookies: The cookie is set directly on your shop domain and is not blocked by browsers
- No redirect: The visitor is not routed through the go.cgi
- SEO-friendly: Search engines evaluate direct links positively
How it works
The tracking information is encoded as an anchor (#) at the end of the URL:
https://www.your-shop.com/summer-dresses#Q4S02C12The markers mean:
- # – Start of the tracking information
- Q – Creative ID (for statistics)
- S – SubID (optional, set by the partner)
- C – PartnerID
A JavaScript (getpid.js) on your site reads the information from the anchor and sets a first-party cookie (qc_cid) with the ClickID, valid for 30 days.
Setting up getpid.js
Step 1: Download the script - when anchor tracking is enabled, via the "getpid.js" link under System → Tracking Codes
Step 2: Copy the script to your shop server (improves loading speed)
Step 3: Include the script on every landing page in the <head> section
Anchor tracking transaction pixel
The tracking code for transactions differs for anchor tracking from the standard code. You can find the correct code under System → Tracking Codes.
Options
- Encrypted PartnerIDs: Prevents third parties from scanning for affiliate links. Activation by the QUALITYCLICK team.
- SubID restriction: With anchor tracking, the SubID may only contain lowercase letters (a-z), digits (0-9), hyphens (-) and underscores (_). Uppercase letters or other characters make the attribution invalid.
- Tracking parameters: If you use external parameters (e.g. utm for analytics), the anchor (#Q..C..) must always be at the end of the URL.