Skip to content
Site health Live

Core Web Vitals badge

LCP, INP and CLS from real visits, shown as a badge you can be proud of.

What it looks like Sample

The numbers here are samples. On your site, the widget shows your own totals.

What it shows

  • LCP, INP and CLS from real visits to your pages.
  • Each one graded the way Google grades it.
  • A full or a compact badge.

What it stores

  • No personal data and no visitor identifier.
  • It sends nothing from the visitor’s browser.
  • It shows only totals and facts that your site already has.
Snippet · Core Web Vitals badge
<!-- once per page --><script defer  src="https://api.datavisitors.com/assets/dv-embed.js"  data-key="YOUR_INSTALL_KEY"></script><!-- where the widget goes --><div data-dv-widget="webvitals"></div>

Put line 1 to 4 once per page. Put line 7 where the widget goes.

Options

Add an option to the widget line. Leave it out to use the default.

Name What it does Default
data-dv-widget Names the widget. Use webvitals for this one. Default: webvitals
data-variant Style One of: full (Full), compact (Compact) Default: full
data-path Pages Default: /
Site health Live

Cookieless trust badge

Tells visitors your analytics set no cookie, and links to a page listing exactly what they collect.

Any site that respects its readers See the widget
Engagement Live

Was this helpful?

A two-button question at the end of a page. Answers land in your dashboard.

Docs, help articles See the widget
Audience Live

Visitors badge

How many people are here right now, delayed and rounded so it names nobody.

Blogs, open-source projects, indie sites See the widget