Plausible events check revenue and engagement data.
Plausible events retain their documented body and transport checks. A pinned public parser adds advice for revenue objects, encoded long revenue, engagement metrics and native custom properties. Signed and scientific amounts, empty referrers and clamped scroll depth remain valid.
Native property aliases use the parser’s precedence. Advisory currency checks use the current ISO registry. Encoded property contents, aggregate behavior, account eligibility and receiver acceptance remain explicit limits. Invalid revenue can be discarded while the event is recorded.
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 |
|---|---|---|---|---|
name |
optional | It is the event name. `pageview` is the special page-view event; any other value is a custom event. The tracker also sends this as `n`. Presence diagnostic severity: error. Native JSON type: string or integer. Maximum decoded characters: 120. Fix: Set `name` to `pageview` or to a custom event name. | vendor.plausible.body.name.emptyvendor.plausible.body.name.invalid |
docs |
n |
optional | Short key for `name`, used by the JavaScript tracker. Presence diagnostic severity: error. Native JSON type: string or integer. Maximum decoded characters: 120. Fix: Set `n` or `name` to the event name. | vendor.plausible.body.n.emptyvendor.plausible.body.n.invalid |
docs |
url |
optional | Plausible accepts absolute, app and relative URLs. Data URIs are unsupported. Presence diagnostic severity: error. Native JSON type: string. Fix: Send the page URL or relative page path. | vendor.plausible.body.url.emptyvendor.plausible.body.url.invalid |
docs |
u |
optional | Plausible accepts absolute, app and relative URLs. Data URIs are unsupported. Presence diagnostic severity: error. Native JSON type: string. Fix: Send the page URL or relative page path. | vendor.plausible.body.u.emptyvendor.plausible.body.u.invalid |
docs |
domain |
optional | It is the site domain as configured in the Plausible account. The tracker also sends this as `d`. Presence diagnostic severity: error. Native JSON type: string. Fix: Set `domain` to the domain you added in Plausible, such as `example.com`. | vendor.plausible.body.domain.emptyvendor.plausible.body.domain.invalid |
docs |
d |
optional | Short key for `domain`, used by the JavaScript tracker. Presence diagnostic severity: error. Native JSON type: string. Fix: Set `d` or `domain` to the Plausible site domain. | vendor.plausible.body.d.emptyvendor.plausible.body.d.invalid |
docs |
referrer |
optional | Referrers may be empty. The pinned parser truncates long values to 2,000 characters. Value diagnostic severity: warning. Native JSON type: string. Maximum decoded characters: 2000. Fix: Send the referring URL or host in `referrer`, or drop the empty pair. | vendor.plausible.body.referrer.emptyvendor.plausible.body.referrer.invalid |
docs |
revenue.currency |
optional | Revenue uses an assigned current ISO 4217 code. This advice does not establish the deployment CLDR version or account eligibility. Applies when {"kind":"json_type","param":"revenue","json_type":"object"}. Presence diagnostic severity: warning. Value diagnostic severity: warning. Native JSON type: string. Fix: Send a three-letter currency code in `revenue.currency`, such as `USD`. | vendor.plausible.body.revenue.currency.emptyvendor.plausible.body.revenue.currency.invalid |
docs |
revenue.amount |
optional | Signed decimal and exponent forms remain valid numeric amounts. Invalid revenue data does not establish rejection of the event. Applies when {"kind":"json_type","param":"revenue","json_type":"object"}. Presence diagnostic severity: warning. Value diagnostic severity: warning. Native JSON type: number or string. Fix: Send `revenue.amount` as a number or numeric string, such as `1322.22`, without a currency symbol. | vendor.plausible.body.revenue.amount.emptyvendor.plausible.body.revenue.amount.invalid |
docs |
interactive |
optional | It says whether the event counts for bounce detection. Plausible documents a boolean; omit it, or send `false` for a non-interactive custom event. Native JSON type: boolean. Fix: Send `true` or `false`, or omit `interactive`. | vendor.plausible.body.interactive.emptyvendor.plausible.body.interactive.invalid |
docs |
props |
optional | Plausible retains at most 30 custom property entries and discards additional entries. Applies when {"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"p"}},{"kind":"json_type","param":"p","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"p","json_type":"boolean"},{"kind":"value_in","param":"p","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"props"}},{"kind":"json_type","param":"props","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"props","json_type":"boolean"},{"kind":"value_in","param":"props","values":["false"]}]}]}}]}. Value diagnostic severity: warning. Native JSON type: object or string. Maximum object properties: 30. | vendor.plausible.body.props.invalid |
docs |
revenue |
optional | The vendor documents `revenue` in the request contract. Applies when {"kind":"all","conditions":[{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"revenue"}},{"kind":"json_type","param":"revenue","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"revenue","json_type":"boolean"},{"kind":"value_in","param":"revenue","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Native JSON type: object or string. | vendor.plausible.body.revenue.invalid |
docs |
root |
optional | The vendor documents `` in the request contract. Native JSON type: object. | vendor.plausible.body.root.invalid |
docs |
props.* |
optional | The pinned parser retains scalar property values and applies a 2,000-byte UTF-8 value bound. This advice does not certify all filtering behavior. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"p"}},{"kind":"json_type","param":"p","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"p","json_type":"boolean"},{"kind":"value_in","param":"p","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"props"}},{"kind":"json_type","param":"props","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"props","json_type":"boolean"},{"kind":"value_in","param":"props","values":["false"]}]}]}}]},{"kind":"json_type","param":"props","json_type":"object"}]}. Value diagnostic severity: warning. Evidence: vendor template. Native JSON type: string or number or boolean or null. Maximum decoded characters: 2000. Maximum decoded UTF-8 bytes: 2000. | vendor.plausible.body.props.*.invalid |
docs |
overlong_property_name… |
forbidden | Custom property names are limited to 300 characters. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"p"}},{"kind":"json_type","param":"p","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"p","json_type":"boolean"},{"kind":"value_in","param":"p","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"props"}},{"kind":"json_type","param":"props","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"props","json_type":"boolean"},{"kind":"value_in","param":"props","values":["false"]}]}]}}]},{"kind":"json_type","param":"props","json_type":"object"}]}. Presence diagnostic severity: warning. | vendor.plausible.body.overlong_property_name.forbidden |
docs |
m |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: object or string. Maximum object properties: 30. | vendor.plausible.body.m.invalid |
docs |
m.* |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]}}]},{"kind":"json_type","param":"m","json_type":"object"}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: string or number or boolean or null. Maximum decoded characters: 2000. Maximum decoded UTF-8 bytes: 2000. | vendor.plausible.body.m.*.invalid |
docs |
overlong_m_property_name… |
forbidden | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]}}]},{"kind":"json_type","param":"m","json_type":"object"}]}. Presence diagnostic severity: warning. Evidence: vendor template. | vendor.plausible.body.overlong_m_property_name.forbidden |
docs |
meta |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: object or string. Maximum object properties: 30. | vendor.plausible.body.meta.invalid |
docs |
meta.* |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]}}]},{"kind":"json_type","param":"meta","json_type":"object"}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: string or number or boolean or null. Maximum decoded characters: 2000. Maximum decoded UTF-8 bytes: 2000. | vendor.plausible.body.meta.*.invalid |
docs |
overlong_meta_property_name… |
forbidden | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]}}]},{"kind":"json_type","param":"meta","json_type":"object"}]}. Presence diagnostic severity: warning. Evidence: vendor template. | vendor.plausible.body.overlong_meta_property_name.forbidden |
docs |
p |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"p"}},{"kind":"json_type","param":"p","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"p","json_type":"boolean"},{"kind":"value_in","param":"p","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: object or string. Maximum object properties: 30. | vendor.plausible.body.p.invalid |
docs |
p.* |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"p"}},{"kind":"json_type","param":"p","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"p","json_type":"boolean"},{"kind":"value_in","param":"p","values":["false"]}]}]}}]},{"kind":"json_type","param":"p","json_type":"object"}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: string or number or boolean or null. Maximum decoded characters: 2000. Maximum decoded UTF-8 bytes: 2000. | vendor.plausible.body.p.*.invalid |
docs |
overlong_p_property_name… |
forbidden | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"m"}},{"kind":"json_type","param":"m","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"m","json_type":"boolean"},{"kind":"value_in","param":"m","values":["false"]}]}]},{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"meta"}},{"kind":"json_type","param":"meta","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"meta","json_type":"boolean"},{"kind":"value_in","param":"meta","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"p"}},{"kind":"json_type","param":"p","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"p","json_type":"boolean"},{"kind":"value_in","param":"p","values":["false"]}]}]}}]},{"kind":"json_type","param":"p","json_type":"object"}]}. Presence diagnostic severity: warning. Evidence: vendor template. | vendor.plausible.body.overlong_p_property_name.forbidden |
docs |
r |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"r"}},{"kind":"json_type","param":"r","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"r","json_type":"boolean"},{"kind":"value_in","param":"r","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: string. Maximum decoded characters: 2000. | vendor.plausible.body.r.invalid |
docs |
i |
optional | This advisory check follows the pinned Plausible parser profile. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: boolean. | vendor.plausible.body.i.invalid |
docs |
h |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"h"}},{"kind":"json_type","param":"h","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"h","json_type":"boolean"},{"kind":"value_in","param":"h","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: integer or string. | vendor.plausible.body.h.emptyvendor.plausible.body.h.invalid |
docs |
hashMode |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"h"}},{"kind":"json_type","param":"h","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"h","json_type":"boolean"},{"kind":"value_in","param":"h","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"hashMode"}},{"kind":"json_type","param":"hashMode","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"hashMode","json_type":"boolean"},{"kind":"value_in","param":"hashMode","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: integer or string. | vendor.plausible.body.hashMode.emptyvendor.plausible.body.hashMode.invalid |
docs |
v |
optional | This advisory check follows the pinned Plausible parser profile. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: integer. | vendor.plausible.body.v.invalid |
docs |
sd |
optional | The parser accepts nonnegative scroll depth and clamps values above 100. No upper-bound rejection is invented. Applies when {"kind":"any","conditions":[{"kind":"value_in","param":"n","values":["engagement"]},{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"n"}},{"kind":"json_type","param":"n","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"n","json_type":"boolean"},{"kind":"value_in","param":"n","values":["false"]}]}]},{"kind":"value_in","param":"name","values":["engagement"]}]}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: integer or string. Minimum numeric value: 0. | vendor.plausible.body.sd.emptyvendor.plausible.body.sd.invalid |
docs |
e |
optional | This advisory check follows the pinned Plausible parser profile. Applies when {"kind":"any","conditions":[{"kind":"value_in","param":"n","values":["engagement"]},{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"n"}},{"kind":"json_type","param":"n","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"n","json_type":"boolean"},{"kind":"value_in","param":"n","values":["false"]}]}]},{"kind":"value_in","param":"name","values":["engagement"]}]}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: integer or string. Minimum numeric value: 0. Maximum numeric value: 2591999999. | vendor.plausible.body.e.emptyvendor.plausible.body.e.invalid |
docs |
$ |
optional | Short revenue representation. The long revenue key has precedence. Applies when {"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"revenue"}},{"kind":"json_type","param":"revenue","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"revenue","json_type":"boolean"},{"kind":"value_in","param":"revenue","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"$"}},{"kind":"json_type","param":"$","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"$","json_type":"boolean"},{"kind":"value_in","param":"$","values":["false"]}]}]}}]}. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: object or string. | vendor.plausible.body.$.invalid |
docs |
$.currency |
optional | Revenue uses an assigned current ISO 4217 code. This advice does not establish the deployment CLDR version or account eligibility. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"revenue"}},{"kind":"json_type","param":"revenue","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"revenue","json_type":"boolean"},{"kind":"value_in","param":"revenue","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"$"}},{"kind":"json_type","param":"$","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"$","json_type":"boolean"},{"kind":"value_in","param":"$","values":["false"]}]}]}}]},{"kind":"json_type","param":"$","json_type":"object"}]}. Presence diagnostic severity: warning. Value diagnostic severity: warning. Evidence: vendor template. Native JSON type: string. Fix: Send a three-letter currency code in `revenue.currency`, such as `USD`. | vendor.plausible.body.$.currency.emptyvendor.plausible.body.$.currency.invalid |
docs |
$.amount |
optional | Signed decimal and exponent forms remain valid numeric amounts. Invalid revenue data does not establish rejection of the event. Applies when {"kind":"all","conditions":[{"kind":"all","conditions":[{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"revenue"}},{"kind":"json_type","param":"revenue","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"revenue","json_type":"boolean"},{"kind":"value_in","param":"revenue","values":["false"]}]}]},{"kind":"not","condition":{"kind":"any","conditions":[{"kind":"not","condition":{"kind":"exists","param":"$"}},{"kind":"json_type","param":"$","json_type":"null"},{"kind":"all","conditions":[{"kind":"json_type","param":"$","json_type":"boolean"},{"kind":"value_in","param":"$","values":["false"]}]}]}}]},{"kind":"json_type","param":"$","json_type":"object"}]}. Presence diagnostic severity: warning. Value diagnostic severity: warning. Evidence: vendor template. Native JSON type: number or string. Fix: Send `revenue.amount` as a number or numeric string, such as `1322.22`, without a currency symbol. | vendor.plausible.body.$.amount.emptyvendor.plausible.body.$.amount.invalid |
docs |
event_name_required |
required | The event has neither `name` nor `n`. Plausible documents `name` as required. Fix: Set `name` (or `n`) to `pageview` or to a custom event name. | vendor.plausible.event_name_required |
docs |
page_url_required |
required | The event has neither `url` nor `u`. Plausible documents `url` as required. Fix: Set `url` (or `u`) to an absolute page URL. | vendor.plausible.page_url_required |
docs |
domain_required |
required | The event has neither `domain` nor `d`. Plausible documents `domain` as required. Fix: Set `domain` (or `d`) to the site domain configured in Plausible. | vendor.plausible.domain_required |
docs |
body.data_url_unsupported |
required | `url` uses the data URI scheme. Plausible documents that data URLs are not supported by the Events API. Fix: Send an `http`, `https`, or app URL such as `https://example.com/page` or `app://localhost/login`. | vendor.plausible.body.data_url_unsupported |
docs |
url_path_limit |
required | The page URL path exceeds Plausible's published 2000-character limit. | vendor.plausible.url_path_limit |
docs |
u_path_limit |
required | The page URL path exceeds Plausible's published 2000-character limit. | vendor.plausible.u_path_limit |
docs |
revenue_fields_required |
recommended | The revenue object needs both currency and amount. The event may still be accepted without revenue. Evidence: vendor template. | vendor.plausible.revenue_fields_required |
docs |
short_revenue_fields_required |
recommended | The revenue object needs both currency and amount. The event may still be accepted without revenue. Evidence: vendor template. | vendor.plausible.short_revenue_fields_required |
docs |
engagement_metrics_required |
recommended | The engagement event has no populated scroll-depth or time metric. Evidence: vendor template. | vendor.plausible.engagement_metrics_required |
docs |
engagement_zero_time |
recommended | Zero engagement time without scroll depth leaves no usable engagement metric. Evidence: vendor template. | vendor.plausible.engagement_zero_time |
docs |
body.amount_requires_currency |
recommended | The event sends `revenue.amount` without `revenue.currency`. Plausible documents both on the revenue object. Fix: Add `revenue.currency` as an ISO 4217 code, such as `USD`. | vendor.plausible.body.amount_requires_currency |
docs |
body.currency_requires_amount |
recommended | The event sends `revenue.currency` without `revenue.amount`. Plausible documents both on the revenue object. Fix: Add `revenue.amount` as a number or numeric string, such as `1322.22`. | vendor.plausible.body.currency_requires_amount |
docs |
currency |
required | Revenue uses an assigned current ISO 4217 code. This advice does not establish the deployment CLDR version or account eligibility. Decoded body source: revenue. Encoding: json. Decoding diagnostic severity: warning. Presence diagnostic severity: warning. Value diagnostic severity: warning. Evidence: vendor template. Native JSON type: string. Fix: Send a three-letter currency code in `revenue.currency`, such as `USD`. | vendor.plausible.body.currency.missingvendor.plausible.body.currency.emptyvendor.plausible.body.currency.invalid |
docs |
amount |
required | Signed decimal and exponent forms remain valid numeric amounts. Invalid revenue data does not establish rejection of the event. Decoded body source: revenue. Encoding: json. Decoding diagnostic severity: warning. Presence diagnostic severity: warning. Value diagnostic severity: warning. Evidence: vendor template. Native JSON type: number or string. Fix: Send `revenue.amount` as a number or numeric string, such as `1322.22`, without a currency symbol. | vendor.plausible.body.amount.missingvendor.plausible.body.amount.emptyvendor.plausible.body.amount.invalid |
docs |
root |
optional | This advisory check follows the pinned Plausible parser profile. Decoded body source: revenue. Encoding: json. Decoding diagnostic severity: warning. Presence diagnostic severity: warning. Evidence: vendor template. Native JSON type: object. | vendor.plausible.body.root.invalid |
docs |
method |
required | This published ingestion operation uses HTTP POST. Complete HTTP capture contract. Native JSON type: string. | vendor.plausible.http.method.missingvendor.plausible.http.method.emptyvendor.plausible.http.method.invalid |
docs |
content_type |
required | Use a published request media type. Complete HTTP capture contract. Native JSON type: string. | vendor.plausible.http.content_type.missingvendor.plausible.http.content_type.emptyvendor.plausible.http.content_type.invalid |
docs |
body |
required | The request body is a JSON object. Complete HTTP capture contract. Native JSON type: object. | vendor.plausible.http.body.missingvendor.plausible.http.body.invalid |
docs |
headers.user-agent |
required | Plausible requires the original visitor User-Agent. Complete HTTP capture contract. Native JSON type: string. | vendor.plausible.http.headers.user-agent.missingvendor.plausible.http.headers.user-agent.emptyvendor.plausible.http.headers.user-agent.invalid |
docs |
headers.x-forwarded-for |
optional | Optional IP chain. Plausible uses the first valid IPv4 or IPv6 address. Complete HTTP capture contract. Native JSON type: string. | vendor.plausible.http.headers.x-forwarded-for.emptyvendor.plausible.http.headers.x-forwarded-for.invalid |
docs |
Validate a payload
pixellint validate json @payload.json --rulepack vendor/plausible
Try this failing payload in the playground. A Plausible engagement event without a usable metric.
{
"name": "engagement",
"url": "https://publisher.example.test/",
"domain": "publisher.example.test"
}
cargo install pixellint
·
npm install pixellint