Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web vitals #952

Merged
merged 10 commits into from
Jul 6, 2020
Merged
Prev Previous commit
Next Next commit
reportAllChanges=true
  • Loading branch information
max-ostapenko committed Jul 5, 2020
commit 4f927e85d1c941feaf9b087b1766bffa86fbcad0
4 changes: 2 additions & 2 deletions src/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

window.addEventListener('load', function() {
webVitals.getFCP(sendWebVitalsGAEvents);
webVitals.getLCP(sendWebVitalsGAEvents, true);
webVitals.getCLS(sendWebVitalsGAEvents, true);
webVitals.getLCP(sendWebVitalsGAEvents);
webVitals.getCLS(sendWebVitalsGAEvents);
webVitals.getTTFB(sendWebVitalsGAEvents);
webVitals.getFID(sendWebVitalsGAEvents);
});
Expand Down