pixellint

Rakuten conversion lists preserve discount and tax adjustment rows.

Quantity and amount lists describe the same number of rows. Zero quantities and signed discount or tax adjustments remain valid. Truncated requests retain their limited source scope.

Optional order data receives published field limits. Encoded SKU and name separators remain opaque. Template checks are advisory, and configuration-dependent currency units stay open.

What this pack matches

Hosts
track.linksynergy.com
Paths
/ep
Vendor docs
github.com/Rakuten-Advertising-Developers/Affiliate-for-Server-Side-GTM/blob/bd2c08e8bb352cbe92db0d9ec97607c94401fffe/template.tpl

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
mid required It is the numeric merchant ID. Generated `/ep` pixels send it. Rakuten documents tracking methods rather than this query, so the rule is ecosystem evidence. Fix: Set `mid` to the Merchant ID from Rakuten Advertising. vendor.rakuten.param.mid.missing
vendor.rakuten.param.mid.empty
vendor.rakuten.param.mid.invalid
docs
ord required It is the unique order ID. Generated `/ep` pixels send it. Fix: Set `ord` to a unique order identifier. vendor.rakuten.param.ord.missing
vendor.rakuten.param.ord.empty
docs
skulist recommended It is the pipe-delimited SKU list generated pixels send for itemized orders. Fix: Set `skulist` to the order SKUs, pipe-delimited when there is more than one item. vendor.rakuten.param.skulist.missing
vendor.rakuten.param.skulist.empty
docs
cur optional Transaction ISO 4217 currency. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.cur.empty
vendor.rakuten.param.cur.invalid
docs
qlist optional Pipe-separated numeric quantities, including zero adjustment rows. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.qlist.empty
vendor.rakuten.param.qlist.invalid
docs
amtlist optional Pipe-separated line totals. Signed discount and tax rows remain valid. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.amtlist.empty
vendor.rakuten.param.amtlist.invalid
docs
namelist optional Names are encoded individually. Embedded separators remain opaque. Presence diagnostic severity: warning. Evidence: vendor template. docs
land optional Optional landing UTC time spelling YYYYmmDD_HHMM. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.land.empty
vendor.rakuten.param.land.invalid
docs
tr optional Publisher tracking identity remains opaque. Presence diagnostic severity: warning. Evidence: vendor template. docs
discount optional Source numeric discount amount. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.discount.empty
vendor.rakuten.param.discount.invalid
docs
disamt optional Source optional numeric discount amount. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.disamt.empty
vendor.rakuten.param.disamt.invalid
docs
custid optional Internal customer identity remains opaque. Presence diagnostic severity: warning. Evidence: vendor template. docs
custstatus optional Customer status is configured caller data. Presence diagnostic severity: warning. Evidence: vendor template. docs
source optional Producer provenance marker, without a closed vocabulary. Presence diagnostic severity: warning. Evidence: vendor template. docs
spi optional Producer version remains opaque and forward compatible. Presence diagnostic severity: warning. Evidence: vendor template. docs
img optional The official server template emits image mode 1. Applies when {"kind":"value_in","param":"source","values":["sgtm"]}. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.img.empty
vendor.rakuten.param.img.invalid
docs
trunc optional The source truncation marker is the string true. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.param.trunc.empty
vendor.rakuten.param.trunc.invalid
docs
altord optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 40. vendor.rakuten.param.altord.invalid docs
cc optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 16. vendor.rakuten.param.cc.invalid docs
commreason optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 255. vendor.rakuten.param.commreason.invalid docs
consumed optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 32. vendor.rakuten.param.consumed.empty
vendor.rakuten.param.consumed.invalid
docs
coupon optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 128. vendor.rakuten.param.coupon.invalid docs
custscore optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 16. vendor.rakuten.param.custscore.invalid docs
did optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 42. vendor.rakuten.param.did.invalid docs
iscomm optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 1. vendor.rakuten.param.iscomm.empty
vendor.rakuten.param.iscomm.invalid
docs
ordstatus optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 32. vendor.rakuten.param.ordstatus.invalid docs
segment optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 32. vendor.rakuten.param.segment.invalid docs
shipcountry optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 3. vendor.rakuten.param.shipcountry.empty
vendor.rakuten.param.shipcountry.invalid
docs
shipped optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 32. vendor.rakuten.param.shipped.empty
vendor.rakuten.param.shipped.invalid
docs
sitename optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 128. vendor.rakuten.param.sitename.invalid docs
storecat optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 255. vendor.rakuten.param.storecat.invalid docs
storeid optional Published optional order-level field limit. Presence diagnostic severity: warning. Evidence: vendor documented. Maximum decoded characters: 32. vendor.rakuten.param.storeid.empty
vendor.rakuten.param.storeid.invalid
docs
numeric_lists_misaligned recommended Quantity and amount lists describe the same number of rows. SKU/name separators are intentionally not counted after URL decoding. Evidence: vendor template. vendor.rakuten.numeric_lists_misaligned docs
method optional The official server template uses GET. Complete HTTP capture contract. Presence diagnostic severity: warning. Evidence: vendor template. vendor.rakuten.http.method.empty
vendor.rakuten.http.method.invalid
docs

Validate a payload

pixellint validate url "$ARTIFACT" --rulepack vendor/rakuten

Try this failing payload in the playground. A Rakuten conversion with mismatched quantity and amount lists.

https://track.linksynergy.com/ep?mid=123&ord=synthetic&skulist=one&qlist=1%7C0&amtlist=100

cargo install pixellint · npm install pixellint