Google CrUX
Basic cards
Basic cards are the simplest widgets available.
Content Card
Supports no metrics – you can simply use content.before
and content.after
to
render markdown to add any comments or explanations throughout your dashboard.
All other widgets support the same behavior on content.before
and content.after
as the Content Card.
ContentCard
ContentCard
Number Value
Supports 1 or more records and displays the value (in the unit selected) as well as
the relative threshold for good
, needs to improve
, or poor
.
You can read more about thresholds in the Thresholds documentation.
NumberValue
If you use a single metric, you can use markdown content to render its label and explanation
NumberValue
These all use `VARIABLE` for device/url meaning it will show what ever the user currently selects (phone or desktop, origin or exact page)
NumberValue
You can render different metrics of the same record by using URL `VARIABLE`, and they will render a label above each.
NumberValue
Or you can repeat the metrics for each of the URLs in a measurement by using URL `EACH_PAGE`.
NumberValue
NumberValue
NumberValue
NumberValue
NumberValue
NumberValue
NumberValue
NumberValue
NumberValue
NumberValue
NumberValue
Core Web Vitals Card
Supports 1 or more records and displays the assessment on whether those metrics are all in the good
threshold.
You’d almost always want to use it with LCP + INP + CLS and it’d match the Core Web Vitals assessment (all are passing or at least one is not).
It does include some logic to match the assessment (if LCP+CLS pass and INP has no data, it’ll still be considered passing).
CoreWebVitalsCard
You must send all three LCP/INP/CLS to get the correct assessment
CoreWebVitalsCard
If you're missing any of the three on your definitions (or actual data), it'll show 'No data'
CoreWebVitalsCard