Basket Tracking
Capture cart data at the line-item level — for precise commission calculation per article.
Tracking BasicsTracking PixelAnchor TrackingReferrer TrackingClick & View TrackingSession TrackingS2S / ClickIDCookie RoutingBasket TrackingTracking Examples
Prerequisites
Basket tracking must be activated for your system. There are two variants:
- Browser-based: Cart data is passed as additional parameters in the tracking pixel (get_trans.cgi) on the order confirmation page
- SOAP-based: Cart data is submitted server-side via the SOAP methods
new,changeorchange_or_new
Contact info@qualityclick.com to activate basket tracking for your system.
Basket tracking via browser
Extend the tracking pixel code on the order confirmation page with cart data:
Cart parameters
// Item 1
&ba1=SKU_ITEM_1
&bc1=COMMISSION_PRODUCT_1
&bu1=UNIT_PRICE_NET_1
&bq1=QUANTITY_1
&bt1=ITEM_NAME_1
// Item 2
&ba2=SKU_ITEM_2
&bc2=COMMISSION_PRODUCT_2
&bu2=UNIT_PRICE_NET_2
&bq2=QUANTITY_2
&bt2=ITEM_NAME_2For each additional item, increment the number (ba3, bc3, bu3, bq3, bt3 etc.).
| Parameter | Description | Example |
|---|---|---|
ba[n] | Article number (SKU) | ABC-123 |
bc[n] | Commission product in QUALITYCLICK | Sale |
bu[n] | Unit price net | 23.00 |
bq[n] | Quantity | 3 |
bt[n] | Article name | T-Shirt XL |
Basket tracking via SOAP
Alternatively, submit cart data via the SOAP interface. The methods new, change and change_or_new provide a "basket" property for an arbitrary list of line items.
A basket item has this data structure:
| Field | Description | Format | Example |
|---|---|---|---|
article_id | Article number (unique with variant) | Text, 3–40 chars | abc123 |
variant | Variant (size, color) | Text, max 255 | XL |
commission_id | Commission product | Text, max 40 | test-product |
unitprice | Unit price net | Decimal | 23.00 |
quantity | Quantity | Number | 3 |
title | Product title | Text, max 255 | T-Shirt |
⚠️Warning
Every SOAP call with cart data must include a TransactionID. Details on SOAP integration under SOAP Admin API.
Tracking Pixel
Basic integration
SOAP Admin API
Transactions via API
Products & Commissions
Set up commission products
Still have questions?
Our team is here to help with your integration — personally and competently.