Core Web Vitals

Community tag by gtm-templates-simo-ahava

What is Core Web Vitals?

Load the Core Web Vitals library from a CDN and have it push key milestones (CLS, FID, LCP) into dataLayer for use in tags.

Core Web Vitals tag is created by gtm-templates-simo-ahava. Once you set up server side tagging with MetricsGate, you can use this tag with Google Tag Manager to enhance your data analytics.

This tag template is part of an open-source community, with its source code accessible on Github, and its documentation can also be found online.

You can check its version history below:

  1. Add toggle to also collect INP, FCP, and TTFB
  2. Add option to namespace measurement in webVitalsMeasurement.
  3. Add rounded integers to the object for easier implementation.
  4. Initial release.

More tags and variables supported

Tags

Variables

Join early adopters globally and leverage server-side tagging, GA4 custom events, and cookieless tracking to gain deeper insights and enhanced analytics data about your visitors!

Get Started now