Anchor Tracking
Organic partner links without redirects and without third-party cookies — using a # fragment at the end of the URL.
Tracking BasicsTracking PixelAnchor TrackingReferrer TrackingClick & View TrackingSession TrackingS2S / ClickIDCookie RoutingBasket TrackingTracking Examples
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:
Partner link with anchor
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.
Setting up getpid.js
Step 1: Download the script — when anchor tracking is enabled, available at:
getpid.js URL
https://partner.your-site.com/scripts/getpid.js?cpid=PROGRAMIDStep 2: Copy the script to your shop server (improves loading speed)
Step 3: Include the script on every landing page, e.g. in the header or footer
⚠️Warning
The landing page and order confirmation page must be on the same domain. Example: shop on your-shop.com, checkout on your-shop.com or checkout.your-shop.com. Different main domains will not work.
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 and numbers.
- 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.
💡Tip
Anchor tracking is activated by the QUALITYCLICK team and then applies to the entire partner program. Contact info@qualityclick.com.
Referrer Tracking
Even simpler organic links
Tracking Basics
Tracking methods comparison
Tracking Examples
Anchor tracking in practice
Still have questions?
Our team is here to help with your integration — personally and competently.