Quantcast Measure pixels need p-code a
The Measure tag call puts a=p- plus your p-code on the path, same matrix shape Floodlight uses. labels, orderid, revenue, and url are checked when present: revenue is a number, and url is an absolute page URL. The p-code comes from the Quantcast account.
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 |
|---|---|---|---|---|
a |
required | It is the Quantcast p-code. Quantcast documents Measure tag calls with `a=p-` plus that identifier. Fix: Set `a` to the p-code from the Quantcast account, starting with `p-`. | vendor.quantcast.param.a.missingvendor.quantcast.param.a.emptyvendor.quantcast.param.a.invalid |
docs |
labels |
optional | It is the audience segment or event label. Quantcast documents Measure tag calls with labels=_fp.event. plus the segment name. Fix: Set labels to the Event Manager segment, or drop the empty pair. | vendor.quantcast.param.labels.empty |
docs |
orderid |
optional | It is the order identifier on a purchase confirmation. Quantcast documents orderid on the Measure tag call. Fix: Set orderid to the order ID, or drop the empty pair. | vendor.quantcast.param.orderid.empty |
docs |
revenue |
optional | It is the order value. Quantcast documents revenue as a number on the Measure tag call. Fix: Set revenue to a number such as 100, with no currency symbol. | vendor.quantcast.param.revenue.emptyvendor.quantcast.param.revenue.invalid |
docs |
url |
optional | It is the page URL the tag fired on. Quantcast documents url on the Measure tag call. Fix: Set url to the absolute page URL, encoded on the tag. | vendor.quantcast.param.url.emptyvendor.quantcast.param.url.invalid |
docs |
ref |
optional | Quantcast shows ref as an absolute referrer URL in its published beacon example. Evidence: vendor template. | vendor.quantcast.param.ref.emptyvendor.quantcast.param.ref.invalid |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/quantcast
Try this failing payload in the playground. Quantcast Measure pixel missing p-code a.
https://pixel.quantserve.com/pixel;r=2097142827;labels=_fp.event.Purchase
cargo install pixellint
·
npm install pixellint