Usercentrics widgets load by widget UUID.
The published Preference Manager widget read on preference-api.preference-management.usercentrics.eu/public/widgets/{widgetUuid}.
Authentication, preference writes and CMP script hosts stay outside 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 |
|---|---|---|---|---|
widget_uuid |
required | The Preference Manager guide says widgetUuid is the unique identifier of the widget. The example is a UUID, and the page does not publish a character grammar, so only presence is checked. Fix: Put the widget id from the Admin UI in the path so it reads /public/widgets/{widgetUuid}. | vendor.usercentrics-widget.param.widget_uuid.missingvendor.usercentrics-widget.param.widget_uuid.empty |
docs |
language |
optional | The guide says language is an optional list of ISO 639-1 codes, and the examples are en and de. This check warns unless a value is two letters. It does not check membership in the ISO catalog. Value diagnostic severity: warning. Fix: Set language to a two-letter code such as en, or omit it to receive the English widget. | vendor.usercentrics-widget.param.language.emptyvendor.usercentrics-widget.param.language.invalid |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/usercentrics-widget
Or paste it into the playground. Same engine, in the browser, nothing sent anywhere.
cargo install pixellint
·
npm install pixellint