Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kanti/web-vitals-tracker
Real Measurement Web Vitals Statistic for your TYPO3
https://github.com/kanti/web-vitals-tracker
Last synced: about 10 hours ago
JSON representation
Real Measurement Web Vitals Statistic for your TYPO3
- Host: GitHub
- URL: https://github.com/kanti/web-vitals-tracker
- Owner: Kanti
- License: gpl-3.0
- Created: 2021-05-13T16:46:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-17T10:52:02.000Z (over 2 years ago)
- Last Synced: 2024-04-18T06:11:04.143Z (7 months ago)
- Language: PHP
- Size: 244 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Web Vitals Tracker πΊπ¨π’
![downloads badge](https://shields.io/endpoint?url=https://typo3-badges.dev/badge/web_vitals_tracker/downloads/shields)
![version badge](https://shields.io/endpoint?url=https://typo3-badges.dev/badge/web_vitals_tracker/version/shields)Real Measurement Web Vitals Statistic for your TYPO3
_[More information about Web Vitals](https://web.dev/vitals/)_## install π
```composer req kanti/web-vitals-tracker```
Or via [the Extension Reposiotry](https://extensions.typo3.org/extension/web_vitals_tracker)
## How does it work π¦Ύ
We inject a small javascript file _(2.6kb gziped)_ into the frontend,
that uses the [web-vitals package](https://www.npmjs.com/package/web-vitals) to collect the timings of every page request.
The data is sent to the TYPO3 and saved in the database.## how does it look like π
![Screenshot of the Page overview](./Documentation/Images/wev_vitals_screenshot.png)
### For TYPO3 10 and 11 the Dashboard:
![Screenshot of the Dashboard](./Documentation/Images/web_vitals_dashboard_screenshot.png)## How to contribute π€
```
cd public/typo3conf/ext
git clone [email protected]:Kanti/web-vitals.git
cd web-vitals
# change your stuff
composer update
git commit -m 'β¨ fancy message that explains what was done and why'
# hint: use https://gitmoji.dev/ for a colorful commit message
git remote set-url origin [email protected]:/web-vitals-tracker.git
git push
# create PR
```
## Get support πcurrently, the only support you can ask for is a [github Issue](https://github.com/Kanti/web-vitals/issues?q=)
## Open Questions β
- what about Sites with a lot of Traffic?
after 1_000_000 requests MySQL gets pretty slow (1,2s on my Laptop)
- What about nice 404 Sites, will it still measure the web vitals for that page?
- what about Route Enhancers, how will we work with that?
- what should be configurable?
- Analytical output
- is it useful to get the top 10 and flop 10 Pages of a Site?
- is it useful to have a historical chart of some sort?
- is it useful to have a top 10 and flop 10 List of Plugins/Content Elements?## What I want to do ποΈ
- make it compatible with php 7.2? 7.3?
- save the requests of elder data in aggregate form (to allow large websites to use it)## Author πΆββοΈ
Matthias Vogel
Made with Love π, in my spare time β²