pixellint

vendor/x · ecosystem evidence

X website tag image pixels need txn_id

The website tag loads uwt.js and fires adsct. txn_id is the conversion ID. X documents twq, not this query, so the pack is ecosystem evidence. The conversion API is a different pack on ads-api.x.com.

What this pack matches

Hosts
analytics.twitter.com
Paths
…/adsct…
Vendor docs
business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html

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
txn_id required It is the conversion or pixel ID the website tag fires. X documents the JavaScript tag rather than this query, so the rule is ecosystem evidence. Fix: Copy the conversion ID from the generated website tag so `txn_id` carries it. vendor.x.param.txn_id.missing
vendor.x.param.txn_id.empty
docs
p_id recommended Generated image pixels send `p_id=Twitter`. vendor.x.param.p_id.missing
vendor.x.param.p_id.empty
docs

Validate a payload

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

Try this failing payload in the playground. X website tag missing txn_id.

https://analytics.twitter.com/i/adsct?p_id=Twitter

cargo install pixellint · npm install pixellint