Skip to content

Use web vitals attribution build for better INP tracking data #121

@mehigh

Description

@mehigh

Fixes - https://xwp-co.atlassian.net/browse/INITS-2416

In a recent thread, there's a reference to the "attribution build" which can provide more information on the INP tracked information:
https://twitter.com/tunetheweb/status/1764757818303717863

We're loading the standard web-vitals library ourselves
https://github.com/xwp/site-performance-tracker/blob/master/js/src/measure-web-vitals.js#L2

As a side-effect of this, we'll need to update our switch to deliver the CLS / INP and LCP attribution instead of calculating ourselves "which" attribution should be reported:
https://github.com/xwp/site-performance-tracker/blob/master/js/src/send-to-analytics.js#L103-L140

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions