From f731e2d9ad99f0b3d52df52c45eaa747fd76168e Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Wed, 11 Dec 2024 11:16:44 +0000 Subject: [PATCH] feat: include attribution with all web vitals --- 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 = {