From c84defcf1b040fc8c908ebc61bc2c8684dde0299 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Thu, 12 Dec 2024 10:49:31 +0100 Subject: [PATCH] feat: include attribution with all web vitals (#1594) --- src/entrypoints/web-vitals.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/entrypoints/web-vitals.ts b/src/entrypoints/web-vitals.ts index d1732a378..0d8e8e4df 100644 --- a/src/entrypoints/web-vitals.ts +++ b/src/entrypoints/web-vitals.ts @@ -1,5 +1,4 @@ -import { onLCP, onCLS, onFCP } from 'web-vitals' -import { onINP } from 'web-vitals/attribution' +import { onINP, onLCP, onCLS, onFCP } from 'web-vitals/attribution' import { assignableWindow } from '../utils/globals' const postHogWebVitalsCallbacks = {