vendor/awin · vendor documented
Awin conversion pixels need merchant, amount, and ref
The fall-back image is /sread.img with tt=ns. Server-to-server is /sread.php with tt=ss. merchant is the advertiser ID. parts is the commission group plus amount.
What this pack matches
Rules
Codes are stable. A finding in CI, MCP, or the playground lands on the same id.
| Field | Required | What it checks | Rule ids | Source |
|---|---|---|---|---|
merchant |
required | It is the numeric Awin advertiser ID. The published pixel template requires it. Fix: Set `merchant` to the Advertiser ID from the Awin UI. | vendor.awin.param.merchant.missingvendor.awin.param.merchant.emptyvendor.awin.param.merchant.invalid |
docs |
tt |
required | It is the tracking type. The image pixel sends `ns`; server-to-server sends `ss`. Fix: Use `tt=ns` on the image pixel and `tt=ss` on the S2S read. | vendor.awin.param.tt.missingvendor.awin.param.tt.emptyvendor.awin.param.tt.invalid |
docs |
tv |
required | It is the tracking version. The published template sends `tv=2`. Fix: Set `tv=2`. | vendor.awin.param.tv.missingvendor.awin.param.tv.emptyvendor.awin.param.tv.invalid |
docs |
amount |
required | It is the sale subtotal after discounts, excluding tax and shipping. Awin documents it as a float with a dot decimal. Fix: Set `amount` to the order subtotal, with a dot decimal and no thousands separator. | vendor.awin.param.amount.missingvendor.awin.param.amount.empty |
docs |
ch |
required | It names the last-click channel. Awin documents `aw` for Awin traffic. Fix: Set `ch=aw` for Awin last-click, or the documented channel for that conversion. | vendor.awin.param.ch.missingvendor.awin.param.ch.empty |
docs |
parts |
required | It is the commission group code plus amount, such as `DEFAULT:8.33`. Awin documents it as required. Fix: Set `parts` to `{group}:{amount}`, using `DEFAULT` when no group is configured. | vendor.awin.param.parts.missingvendor.awin.param.parts.empty |
docs |
ref |
required | It is the unique order reference. Awin documents it as required and unique per conversion. Fix: Set `ref` to a unique, URL-encoded order identifier. | vendor.awin.param.ref.missingvendor.awin.param.ref.empty |
docs |
cr |
recommended | It is the ISO 4217 currency code. The published template includes it. Fix: Set `cr` to a three-letter currency code such as `GBP`. | vendor.awin.param.cr.missingvendor.awin.param.cr.emptyvendor.awin.param.cr.invalid |
docs |
testmode |
optional | Awin documents `0` for live conversions and `1` to skip processing. | vendor.awin.param.testmode.emptyvendor.awin.param.testmode.invalid |
docs |
vc |
optional | It is the voucher code when a discount was used. | vendor.awin.param.vc.empty |
docs |
cks |
optional | It is the Awin click identifier (`awc`) on server-to-server reads. | vendor.awin.param.cks.empty |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/awin
Try this failing payload in the playground. Awin conversion pixel missing merchant.
https://www.awin1.com/sread.img?tt=ns&tv=2&amount=8.33&ch=aw&parts=DEFAULT:8.33&ref=AA000001&cr=GBP
cargo install pixellint
·
npm install pixellint