HTTPArchive / almanac.httparchive.org

HTTP Archive's annual "State of the Web" report made by the web community
https://almanac.httparchive.org
Apache License 2.0
622 stars 182 forks source link

Add Web Vitals to analytics #944

Closed rviscomi closed 4 years ago

rviscomi commented 4 years ago

The web-vitals.js library can augment Google Analytics with the largest contentful paint (LCP), first input delay (FID), and cumulative layout shift (CLS) metrics. It'd be great to include these in our existing monitoring tools.

dsadhanala commented 4 years ago

@rviscomi do we have google analytics setup already in place? if not, should I go ahead and create an account and embed?

rviscomi commented 4 years ago

Yes, it's initialized in templates/base.html. Thanks for working on this! 🙌

rviscomi commented 4 years ago

Reassigning to @max-ostapenko, who has already created the PR.