vendor/crazyegg · vendor template
Crazy Egg scripts put account and script IDs in the path
The published snippet loads pages/scripts/{account}/{script}.js. Both numbers come from the Crazy Egg account. tracking.crazyegg.com session traffic is a different surface.
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 |
|---|---|---|---|---|
account_id |
required | It is the numeric Crazy Egg account folder in the published script URL. Crazy Egg documents the loader as `script.crazyegg.com/pages/scripts/`. Fix: Copy the tracking script from Crazy Egg so the path carries your account and script IDs. | vendor.crazyegg.param.account_id.missingvendor.crazyegg.param.account_id.emptyvendor.crazyegg.param.account_id.invalid |
docs |
script_id |
required | It is the numeric script file in the published Crazy Egg URL. Fix: Copy the tracking script from Crazy Egg so the path ends in `{script_id}.js`. | vendor.crazyegg.param.script_id.missingvendor.crazyegg.param.script_id.emptyvendor.crazyegg.param.script_id.invalid |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/crazyegg
Try this failing payload in the playground. Crazy Egg script missing account and script IDs.
https://script.crazyegg.com/pages/scripts/script.js
cargo install pixellint
·
npm install pixellint