From 270fd701e94d54fda90e24b1233841c26219189d Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Mon, 16 Dec 2024 22:37:42 +0000 Subject: [PATCH] Update changelog --- CHANGELOG.md | 3 +-- README.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37b8aa57..e0cb0791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,7 @@ ### v5.0.0-rc.1 (???) -- **[BREAKING]** LCP `element` renamed to `target` ([#562](https://github.com/GoogleChrome/web-vitals/pull/562)) -- LCP and CLS attribution now saves the target selector and element for when the element is removed from the DOM ([#562](https://github.com/GoogleChrome/web-vitals/pull/562)) +- LCP and CLS attribution now saves the target selector for when the element is removed from the DOM ([#562](https://github.com/GoogleChrome/web-vitals/pull/562)) ### v5.0.0-rc.0 (2024-10-03) diff --git a/README.md b/README.md index 18435f15..20f9e144 100644 --- a/README.md +++ b/README.md @@ -351,7 +351,7 @@ function sendToGoogleAnalytics({name, delta, value, id, attribution}) { eventParams.debug_target = attribution.interactionTarget; break; case 'LCP': - eventParams.debug_target = attribution.target; + eventParams.debug_target = attribution.element; break; }