vendor/mailchimp · vendor documented
Mailchimp connected sites put two hashes in the path
Mailchimp's Connected Sites API documents site_script.url as /js/users/{user-hash}/{site-hash}.js. Copy the snippet from Integrations.
Both path segments are required
A URL that ends in /users/{user}/.js has no connected-site hash.
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 |
|---|---|---|---|---|
user_id |
required | It is the Mailchimp user hash in the connected-site script URL. Fix: Copy the connected-site snippet from Mailchimp Integrations so the path is /js/users/{user}/{site}.js. | vendor.mailchimp.param.user_id.missingvendor.mailchimp.param.user_id.empty |
docs |
site_id |
required | It is the connected-site hash. Mailchimp documents site_script.url as /js/users/{user-hash}/{site-hash}.js. Fix: Keep both path segments from the generated Mailchimp snippet. | vendor.mailchimp.param.site_id.missingvendor.mailchimp.param.site_id.empty |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/mailchimp
Try this failing payload in the playground. Mailchimp connected site missing site hash.
https://chimpstatic.com/mcjs-connected/js/users/68ded3d0c0e1446b30c769d0c/.js
cargo install pixellint
·
npm install pixellint