vendor/comscore · vendor documented
Comscore collect beacons need c1, c2, and c7
The final tag call is /b or /p. c1 is 2. c2 is the client ID from Comscore Direct. c7 is the absolute page URL. beacon.js is the loader, not this pack.
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 |
|---|---|---|---|---|
c1 |
required | Comscore documents `c1=2` on the publisher beacon. Fix: Set `c1` to `2` as in the generated Comscore Direct tag. | vendor.comscore.param.c1.missingvendor.comscore.param.c1.emptyvendor.comscore.param.c1.invalid |
docs |
c2 |
required | It is the numeric Comscore client ID, at least seven digits. Fix: Set `c2` to the seven-digit client ID from Comscore Direct. | vendor.comscore.param.c2.missingvendor.comscore.param.c2.emptyvendor.comscore.param.c2.invalid |
docs |
c7 |
required | It is the full page URL, including the query string. Comscore documents it as required on the final `/b` tag call. Fix: Set `c7` to the absolute URL of the page that fired the beacon. | vendor.comscore.param.c7.missingvendor.comscore.param.c7.emptyvendor.comscore.param.c7.invalid |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/comscore
Try this failing payload in the playground. Comscore beacon missing client ID c2.
https://b.scorecardresearch.com/b?c1=2&c7=https://example.com/page
cargo install pixellint
·
npm install pixellint