Core Web Vitals: Core Google Updates Speed and Traffic Dropped!

Core Web Vitals

We are hearing the term Core Web Vitals too much these days. Here today we will talk all about it. Keep reading to know more. Nowadays, this has been introduced in the Webmaster tool/ google search console. And many of facing a huge traffic loss after 4 May 2020 due to new update of google.

Now before we move further let us see what Core Web Vital is?

What is Core Web Vitals?

Core Web Vitals is a tool for the web developer to check the stats of the web page to see how effectively the website is working. It is a new tool by Google. It is one of the latest tools in the list of the Web Vitals.

For those who are a layman in the web development field to make this simple for you, Google has a lot of tools to check your website and tell you how good your website is. The Core web vitals is one of them now.

This tool will help the user to identify the problems in the website and fix those problems to have more and more benefits from the website.

Now we know about the core web vitals we will soon see how it works?

How does Core Vitals work?

This new tool analysis the webpage and tells the user what problem are on the website. It mainly works on the three factors of the website, which are Loading, Interactivity and Visual Stability. Google named these factors as Largest Contentful Paint(LCP) the next is First Input Delay(FID), and the last one is Comulitative Layout Shift(CLS). Let us talk about these factors in detail.

Core Web Vitals
Core Web Vitals

1. Largest Contentful Paint(LCP)

This measures the perceived load speed of the webpage when the rest of the content of the page is being loaded. If the LCP of your page is less than or equal to 2.5 seconds, then the LCP of your page is good, if it is higher than 2.5 seconds and Less than 4 seconds than you should improve your webpage to decrease the time to 2.5 seconds to make the webpage work ideally and if your web page LCP is higher then 4 seconds your webpage is very poor loading speed you seriously need to wok on it.

2. First Input Delay(FID)

The First Input Delay measured the responsive of the webpage when the user tried to interact with the webpage. If the FID of your page is less than or equal to 100 mili seconds, then the FID of your page is good if it is greater than 100 mili seconds and less then 300 mili second than you should improve your webpage to decrease the time to 100 mili seconds to make the webpage work perfectly. If your web page FID is greater then 300 mili seconds your webpage is very poor. First Input Delay you seriously need to wok on it.

See also  HP Elite Dragonfly

3. Cumulative Layout Shift(CLS)

The Cumulative Layout Shift quantifies the unexpected layout shift and measures the visual stability of the webpage. If the CLS of your page is less than or equal to 0.1 then the CLS of your page is good, if it is higher than 0.1 and less than 0.25, then you should improve your webpage to decrease the time to 0.1 seconds to make the webpage work correctly and if your web page CLS is higher then 0.25 seconds your webpage is very poor Comulitative Layout Shift you seriously need to wok on it.

Other factors

There are some other factors by which Google check the vitals of the webpage we will also see them in detail now. 

The other factors include Mobile-friendliness, Safe-browsing, HTTPS-security, Intrusive interstitial guidelines. Let us see them one by one.

  1. Mobile Friendliness: It tells about how much is the website is responsive on mobile devices. 
  2. Safe Browsing: It tells about how secure the website is. It scans for any potential backdoors on the website so that the data of the user stay safe.
  3. HTTPS Security: It tells about whether the website is HTTPS secured or not. If the website is HTTPS secured, then the data sent to the website is through a secure protocol.
  4. Intrusive interstitial guidelines: It mainly tells about if the website is following the Intrusive interstitial guidelines. These guidelines are about the popup ads shown on the website.

These are some of the factors by which Google is working on its Core Web Vitals. 

As per Google this year it will only focus on the Largest Contentful Paint(LCP) the next is First Input Delay(FID), and the last one is Comulitative Layout Shift(CLS), and next year it will update their policy, and they will focus on new or other factors

As of now, we know how the core web vital works the next question is how it will affect the website? Let us see its answer.

How will Core Web Vitals affect the websites?

Today there are millions of website are indexed on Google. Some of them have relevant information some have not. Some websites have a better response, and some have not. Whereas there are some websites which have better response does not show up in the search results, and those websites which have not good response neither have the correct information shows on the top of the search lost. Google is now trying to sort these websites, those websites which have a good response and have better information should show up on the top of the search list. This is where these tools come in play. Google already has a lot of tools, but those are not that efficient. That is why Google has launched the Core Web Vitals this month.

See also  Offshore Development Center

Using the Core Web Vitals tool, Google will monitor the Largest Contentful Paint(LCP), First Input Delay(FID), and the Comulitative Layout Shift(CLS) and rate the websites. Using those ratings, Google will show the websites in the search results. This will increase the visitors on the websites and make it popular, and this will also help to remove those websites which are not relevant. Hence it will increase productivity on the web.

As of now, Google has said that this will not come into play till next year. Google will inform the users 6 months before using this tool.

Don’t Miss: Web Hosting – Bluehost

How to use this tool?

Any developer or website owner can use it easily. There are mainly two ways to use this tool. The first one is using the Google Chrome extension, and the second one is using the API and JavaScript codes. We will see them both one by one.

1. Google Chrome Extension.

To use the Google Chrome Extension, all you have to go to the Chrome Store. Over there search for “Core Web Vitals”. Click install to install the extension. Once the extension is installed, you are set to check the vitals.

The tool shows three colours.

1. Grey: It means that the tool is disabled.

2. Green: It means that the website passed the test.

3. Red: It means that the one or more metrics has been failed.

2. API’s and Java Script

This is the tricky part. You have to create some Java Script files and attach to your website to work properly. Let us see that also.

Here I am listing some of the API to be used to integrate this tool.


interface Metric {
  // The parameter of the metric (in abbrivation form).
  name: 'CLS' | 'FCP' | 'FID' | 'LCP' | 'TTFB';

  // The contemporary state of the metric.
  value: num;

  // The delta within the contemporary value and the newest proclaimed value.
  // On the initial report, 'delta' and 'value' will forever be the equivalent.
  delta: num;

  // A sole ID serving this critical metric that's particular to the
  // contemporary page. This ID can be practiced by an analytics tool to dedupe
  // various values assigned for the equivalent metric, or to group various deltas
  // concurrently and determine a result.
  id: string;

  // 'false' if the value of the metric may shifts in the coming,
  // for the contemporary  page.
  isFinal: boolean;

  // Any completion approaches employed in the metric value estimate.
  // Key, records will be appended to the array as the value shifts.
  entries: PerformanceEntry[];
interface ReportHandler {
  (metric: Metric): void;
//First Input Delay(FID)
type getFID = (onReport: ReportHandler) => void
//Cumulative Layout Shift(CLS)
type getCLS = (onReport: ReportHandler, reportAllChanges?: boolean) => void
//Largest Contentful Paint(LCP)
type getFCP = (onReport: ReportHandler) => void
npm install web-vitals
Log the results to the console
import {getCLS, getFID, getLCP} from 'web-vitals';

Report the value on every change
import {getCLS, getFID, getLCP} from 'web-vitals';

getLCP(console.log, true);
getCLS(console.log, true);
getFID(console.log); // Does not recieve reportAllChanges.
Send the results to Google Analytics
Using analytics.js
import {getCLS, getFID, getLCP} from 'web-vitals';

function sendToGoogleAnalytics({name, delta, id}) {
  // Suppose the global vital() function exists, look:
  vital('send', 'event', {
    eventCategory: 'Web Vitals',
    eventAction: name,
    // Google Analytics metrics must be integers, so the value is aprroximated.
    // For Cumulative Layout Shift the value is first multiplied by high value for greater correctness
   // (note: increase the product for greater accuracy if required).
    eventValue: Math.round(name === 'CLS' ? delta * 10000 : delta),
    // The id value will be same or individual to the contemporary  page load. When sending
    // various values from the identical page (e.g. for Cumulative Layout Shift), Google Analytics can
    // caculate a sum by grouping on this ID (note: requires eventLabel to
    // be a vision in your data).
    eventLabel: id,
    // Use a non-interaction event to bypass interesting bounce rate.
    nonInteraction: true,
Load web-vitals from a CDN
The following examples show how to load web-vitals from using either classic or module scripts:
<!-- Load `web-vitals` using a classic script that sets the global `webVitals` object. -->[email protected]/dist/web-vitals.es5.umd.min.js
addEventListener('DOMContentLoaded', function() {
<!-- Load `web-vitals` using a module script. -->
<script type="module">
  import {getCLS, getFID, getLCP} from '[email protected]/dist/web-vitals.es5.min.js?module';


To read more about API and how to use it click here.

See also  Aroma file manager

Tools to measure Core Web Vitals


  2. Core Web Vitals report


As we have seen that there is a lot of websites are launching daily, to sort them wisely, we needed some tool. Google has now launched this tool called “Core Web Vitals” to help. To make the internet more productive and garbage-free. I hope you liked the post.