Skip to content

Custom metrics struct

Appears in: pages table
As custom_metrics

Schema

Field nameTypeDescription
a11yJSONAccessibility.
cmsJSONContent Management Systems.
cookiesJSONCookie usage.
css_variablesJSONUse of CSS variables.
ecommerceJSONE-commerce features.
element_countJSONNumber of elements on a page.
javascriptJSONJavaScript usage.
markupJSONHTML markup.
mediaJSONMedia elements.
origin_trialsJSONOrigin Trials.
performanceJSONWeb performance.
privacyJSONPrivacy settings and policies.
responsive_imagesJSONResponsive image techniques.
robots_txtJSONrobots.txt file.
securityJSONSecurity features.
structured_dataJSONStructured data.
third_partiesJSONThird-party resources.
well_knownJSONwell-known URIs.
wpt_bodiesJSONMetrics derived from WebPageTest bodies object.
otherJSONOther custom metrics.

a11y

Accessibility.

cms

Content Management Systems.

cookies

Cookie usage.

css_variables

Use of CSS variables.

ecommerce

E-commerce features.

element_count

Number of elements on a page.

javascript

JavaScript usage.

markup

HTML markup.

media

Media elements.

origin_trials

Origin Trials.

performance

Web performance. See the performance custom metric for more information.

privacy

Privacy settings and policies. See the privacy custom metric for more information.

responsive_images

Responsive image techniques.

robots_txt

robots.txt file.

security

Security features.

structured_data

Structured data.

third_parties

Third-party resources.

well_known

well-known URIs.

wpt_bodies

Metrics derived from WebPageTest bodies object.

other

Other custom metrics.

List:

Field nameDescription
adsAdvertising technology and usage. See the ads custom metric for more information.
almanacMetrics defined in the early versions of Web Almanac crawls.
auroraProject Aurora.
avg_dom_depthThe average DOM depth of a page.
ColordepthColor depth of a screen.
crawl_linksThe links found during a crawl.
cssCSS usage.
doctypeDocument type declaration.
document_heightHeight of the document.
document_widthWidth of the document.
DpiDots per inch (DPI) of a screen.
event-namesEvent names used in JavaScript.
fugu-apisUsage of Fugu APIs.
generated-contentClient-side generated content.
has_shadow_rootPresence of shadow DOM roots.
ImagesImages usage.
img-loading-attrImage loading attributes.
initiatorsResource initiators.
inline_style_bytesSize of inline styles.
lib-detector-versionLibraries detector version.
localstorage_sizeSize of local storage.
meta_viewportMeta viewport tag.
num_iframesNumber of iframes on a page.
num_scriptsNumber of script tags.
num_scriptsNumber of script tags.
num_scripts_asyncNumber of asynchronous scripts.
num_scripts_syncNumber of synchronous scripts.
observersMetrics related to the usage of observer APIs.
privacy-sandboxPrivacy Sandbox initiative usage.
pwaProgressive Web Apps.
quirks_modeUsage of quirks mode in browsers.
ResolutionResolution of a screen.
robots_metaRobots meta tag.
sassUsage of Sass.
sessionstorage_sizeSize of session storage.
usertimingUser Timing API.
valid-headValidity of the head element.