pixellint

vendor/yandex-watch · vendor documented

Yandex watch counters put the tag ID in the path

The noscript fallback is /watch/{id}. The ID is the tag from the Metrica interface. /collect is vendor/yandex-metrica.

What this pack matches

Hosts
mc.yandex.ru, mc.yandex.com
Paths
/watch/
Vendor docs
yandex.com/support/metrica/en/code/install-counter-csp

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
counter_id required It is the numeric Metrica tag ID. Yandex documents the counter as `/watch/{counter_id}`. Fix: Put the tag ID from the Metrica interface in the path as `/watch/{id}`. vendor.yandex-watch.param.counter_id.missing
vendor.yandex-watch.param.counter_id.empty
vendor.yandex-watch.param.counter_id.invalid
docs

Validate a payload

pixellint validate url "$ARTIFACT" --rulepack vendor/yandex-watch

Try this failing payload in the playground. Yandex watch counter missing tag ID.

https://mc.yandex.ru/watch/

cargo install pixellint · npm install pixellint