pixellint

vendor/pardot · vendor documented

Account Engagement pdt.js needs aid

Salesforce documents the Tracking and Consent loader as pdt.js?aid= plus the account ID. pd.js without a query is not this pack.

aid is the account ID, not piCId

The campaign ID stays in JavaScript. The URL contract is aid.

Rule: vendor.pardot.param.aid.missing

What this pack matches

Hosts
pi.pardot.com, pi.demand.salesforce.com
Paths
…/pdt.js…
Vendor docs
developer.salesforce.com/blogs/2022/02/how-to-work-with-pardots-new-tracking-consent-javascript-api

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
aid required It is the Account Engagement account ID (piAId). Salesforce documents the loader as pdt.js?aid= plus that value. Fix: Copy the Tracking and Consent snippet so aid carries the account ID. vendor.pardot.param.aid.missing
vendor.pardot.param.aid.empty
vendor.pardot.param.aid.invalid
docs

Validate a payload

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

Try this failing payload in the playground. Account Engagement pdt.js missing aid.

https://pi.pardot.com/pdt.js

cargo install pixellint · npm install pixellint