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

Add Web Vital Tracking #131

Open
1 task done
dainemawer opened this issue Jun 6, 2022 · 0 comments · May be fixed by #130
Open
1 task done

Add Web Vital Tracking #131

dainemawer opened this issue Jun 6, 2022 · 0 comments · May be fixed by #130

Comments

@dainemawer
Copy link
Contributor

dainemawer commented Jun 6, 2022

Is your enhancement related to a problem? Please describe.

Often projects have no way of tracking Web Vitals.
Third-party services are often used which can lead to bloat and complex configurations.

Using Googles: https://github.com/GoogleChrome/web-vitals - we can track web-vitals in the field, for free, using 1kb worth of bandwidth. This data can be used on:

  1. Custom Analytics Endpoints (SpeedCurve/Quickmetrics) - clients with their own analytics tracking
  2. For sending data to Universal Analytics
  3. For sending data to Google Analytics 4
  4. For consumption in BigQuery and Google DataStudio

This functionality should be hidden behind a flag like: TENUP_WEB_VITAL_TRACKING so it can be opt-in if a project requires it.

Another benefit of using this library is far better integration with Google Analytics and Google Tag Manager. As the script is active in production, it also provides us with RUM (Real User Monitoring) at no additional cost. Any data recorded in Google Analytics will be real user data.

This feature would requite an update to the code as well as the wp-scaffold README.

Designs

n/a

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dainemawer dainemawer linked a pull request Jun 6, 2022 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants