kanti / web-vitals-tracker
Real Measurement Web Vitals Statistic for your TYPO3
Installs: 1 301
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 3
Type:typo3-cms-extension
Requires
- php: ~7.4.0 || ~8.0.0
- ext-json: *
- ocramius/package-versions: ^2.1.0
- typo3/cms-backend: ^9.0.0 || ^10.0.0 || ^11.0.0
- typo3/cms-core: ^9.0.0 || ^10.0.0 || ^11.0.0
- typo3/cms-fluid: ^9.0.0 || ^10.0.0 || ^11.0.0
Requires (Dev)
- phpstan/extension-installer: ^1.1.0
- pluswerk/grumphp-config: ^5.0.0
- saschaegerer/phpstan-typo3: ^0.13.3
- typo3/cms-dashboard: ^11.2
- typo3/tailor: ^1.3.0
README
Real Measurement Web Vitals Statistic for your TYPO3
More information about Web Vitals
install π
composer req kanti/web-vitals-tracker
Or via the Extension Reposiotry
How does it work π¦Ύ
We inject a small javascript file (2.6kb gziped) into the frontend,
that uses the web-vitals package 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 π
For TYPO3 10 and 11 the Dashboard:
How to contribute π€
cd public/typo3conf/ext
git clone git@github.com: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 git@github.com:<yourName>/web-vitals-tracker.git
git push
# create PR
Get support π
currently, the only support you can ask for is a github Issue
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 β²