Web
Web Vitals
Core Web Vitals of real visits — measured automatically, no extra code.


What is measured
Web Vitals are optional and off by default. Turn them on with the attribute data-vitals="true" on the tracking script — no further code needed. The module then measures:
- LCP (Largest Contentful Paint) — how fast the main content loads
- CLS (Cumulative Layout Shift) — how stable the layout is
- INP (Interaction to Next Paint) — how fast the page responds to clicks
- FCP (First Contentful Paint) — when the first content appears
- TTFB (Time to First Byte) — how fast the server responds
All metrics are shown as p75 (75th percentile) rated good / needs improvement / poor.
How the module is loaded
With data-vitals="true" the module (≈ 1.5 KB) loads only once the browser is idle after the page has loaded, so it does not slow down rendering. It loads asynchronously from the tracking host and has no dependencies. Without the attribute, or while Global Privacy Control, “Do Not Track”, window.trackdOptOut = true or data-do-not-track="true" applies, the module is not fetched at all.
<!-- turn Web Vitals on -->
<script defer src="https://trackd.one/t.js" data-website="YOUR_WEBSITE_ID" data-vitals="true"></script>
<!-- on, but sample 10% of pageviews -->
<script defer src="https://trackd.one/t.js" data-website="YOUR_WEBSITE_ID" data-vitals="true" data-vitals-sample="0.1"></script>
Web Vitals measurements use a separate allowance and do not count towards your plan’s events.
Ready in minutes
Start the 7-day free trial (no credit card), add your website or app, copy the snippet.