pixellint

Legacy Comscore Direct beacons require their page URL.

The documented legacy Direct beacon uses c1=2, the assigned seven-digit c2 and an absolute page URL in c7. Optional populated SDK metadata receives advisory checks.

Configured modern beacons identified by cs_cfg use a separate profile that respects disabled URL collection and truncation. The beacon.js loader is a separate surface.

What this pack matches

Hosts
b.scorecardresearch.com, sb.scorecardresearch.com
Paths
/b, /p
Vendor docs
direct-support.comscore.com/hc/en-us/articles/360002578333-How-can-I-validate-my-tag-is-working-as-intended

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.missing
vendor.comscore.param.c1.empty
vendor.comscore.param.c1.invalid
docs
c2 required It is the seven-digit client ID assigned by Comscore Direct. Fix: Set `c2` to the seven-digit client ID from Comscore Direct. vendor.comscore.param.c2.missing
vendor.comscore.param.c2.empty
vendor.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.missing
vendor.comscore.param.c7.empty
vendor.comscore.param.c7.invalid
docs
c8 optional Optional document title. Evidence: vendor template. docs
c9 optional Optional document referrer. Presence diagnostic severity: warning. Evidence: vendor template. vendor.comscore.param.c9.empty
vendor.comscore.param.c9.invalid
docs
ns__t optional The SDK stamps epoch milliseconds. Presence diagnostic severity: warning. Evidence: vendor template. vendor.comscore.param.ns__t.empty
vendor.comscore.param.ns__t.invalid
docs
ns_if optional Optional SDK binary flag. Blank fallback values remain valid. Presence diagnostic severity: warning. Evidence: vendor template. vendor.comscore.param.ns_if.empty
vendor.comscore.param.ns_if.invalid
docs
cs_gpc optional Optional SDK binary flag. Blank fallback values remain valid. Presence diagnostic severity: warning. Evidence: vendor template. vendor.comscore.param.cs_gpc.empty
vendor.comscore.param.cs_gpc.invalid
docs
cs_ucfr optional Optional SDK binary flag. Blank fallback values remain valid. Presence diagnostic severity: warning. Evidence: vendor template. vendor.comscore.param.cs_ucfr.empty
vendor.comscore.param.cs_ucfr.invalid
docs
cs_ucc optional Optional SDK binary flag. Blank fallback values remain valid. Presence diagnostic severity: warning. Evidence: vendor template. vendor.comscore.param.cs_ucc.empty
vendor.comscore.param.cs_ucc.invalid
docs
ns_c optional Optional producer metadata with opaque grammar. Evidence: vendor template. docs
cv optional Optional producer metadata with opaque grammar. Evidence: vendor template. docs
cs_it optional Optional producer metadata with opaque grammar. Evidence: vendor template. docs
cs_fpcu optional Optional producer metadata with opaque grammar. Evidence: vendor template. 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