pixellint

vendor/reddit · ecosystem evidence

Reddit Pixel requests need an advertiser ID

id is the advertiser ID. event is the conversion name Reddit documents on rdt('track'). Custom events use Custom. The query spelling is ecosystem evidence.

Purchse is not Purchase

Reddit documents PageVisit, ViewContent, Search, AddToCart, AddToWishlist, Purchase, Lead, SignUp, and Custom. An unrecognized value warns because it otherwise ships as a new event.

Rule: vendor.reddit.param.event.invalid

What this pack matches

Hosts
alb.reddit.com
Paths
/rp.gif
Vendor docs
business.reddithelp.com/s/article/manual-conversion-events-with-the-reddit-pixel

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
id required It is the Reddit advertiser ID. Reddit documents how to install the pixel rather than this query name, so this rule is ecosystem evidence. Fix: Copy the advertiser ID from Reddit Ads into the pixel snippet. vendor.reddit.param.id.missing
vendor.reddit.param.id.empty
docs
event recommended Reddit documents these standard names on rdt('track'). Custom events use Custom. Unrecognized values warn because a misspelling (Purchse) otherwise ships as a new event. Fix: Use a standard event name, or Custom with customEventName in the pixel call. vendor.reddit.param.event.missing
vendor.reddit.param.event.empty
vendor.reddit.param.event.invalid
docs
m.customEventName optional It is the custom event name Reddit documents on rdt('track', 'Custom', { customEventName }). Generated pixels send it as m.customEventName. Reddit allows any UTF-8 character up to 64 characters including spaces. Empty slots on standard events are unfilled GTM template fields. Fix: Set m.customEventName to the custom event name, at most 64 characters, or drop the pair on a standard event. vendor.reddit.param.m.customEventName.empty
vendor.reddit.param.m.customEventName.invalid
docs
custom.requires_name required A Custom event is missing m.customEventName. Reddit documents rdt('track', 'Custom', { customEventName }) and treats that name as a distinct conversion. Fix: Add m.customEventName with the custom event name, at most 64 characters. vendor.reddit.custom.requires_name docs

Validate a payload

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

Try this failing payload in the playground. Reddit pixel with a misspelled event.

https://alb.reddit.com/rp.gif?id=t2_abc123&event=Purchse

cargo install pixellint · npm install pixellint