pixellint

vendor/hubspot-pixel · ecosystem evidence

HubSpot __ptq.gif pixels need Hub ID a

HubSpot tells you to look for __ptq.gif and documents _hsq, not this query, so the pack is ecosystem evidence. a is the Hub ID. The embed on js.hs-scripts.com is vendor/hubspot.

What this pack matches

Hosts
track.hubspot.com
Paths
/__ptq.gif
Vendor docs
knowledge.hubspot.com/reports/how-do-i-know-if-my-hubspot-tracking-code-is-working

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 numeric HubSpot Hub ID. HubSpot tells you to look for `__ptq.gif` and documents `_hsq`, not this query, so the rule is ecosystem evidence. Fix: Keep `a` from the generated tracking pixel so it carries the Hub ID. vendor.hubspot-pixel.param.a.missing
vendor.hubspot-pixel.param.a.empty
vendor.hubspot-pixel.param.a.invalid
docs

Validate a payload

pixellint validate url "$ARTIFACT" --rulepack vendor/hubspot-pixel

Try this failing payload in the playground. HubSpot tracking pixel missing Hub ID.

https://track.hubspot.com/__ptq.gif?k=1

cargo install pixellint · npm install pixellint