vendor/hubspot · vendor template
HubSpot tracking code is {hubId}.js
HubSpot's embed snippet loads js.hs-scripts.com/{hubId}.js. The Hub ID is the path, not a query parameter. Collect fires on track.hubspot.com/__ptq.gif are vendor/hubspot-pixel.
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 |
|---|---|---|---|---|
hub_id |
required | It is the numeric HubSpot Hub ID. HubSpot's tracking code snippet loads `js.hs-scripts.com/{hubId}.js`. Fix: Copy the embed code from Tracking code settings so the path is `{hubId}.js`. | vendor.hubspot.param.hub_id.missingvendor.hubspot.param.hub_id.emptyvendor.hubspot.param.hub_id.invalid |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/hubspot
Try this failing payload in the playground. HubSpot tracking code missing Hub ID.
https://js.hs-scripts.com/.js
cargo install pixellint
·
npm install pixellint