google-tag-manager
google-tag-manager copied to clipboard
feature/partytown: Added possibility for user to choose loading outsi…
What is the purpose of this pull request? The main objective of this request is to enable shopkeepers to load third-party scripts outside the main thread with the help of the partytown library and the vtex application.
What problem is this solving? Page loading time, considering core web vitals metrics.
How should this be manually tested? Run the app in any development workspace, configure the google tag manager identifier, select partytown and save. Just go to the website and make sure the type is text/partytown and then perform load tests.
Screenshots or example usage
Types of changes New feature (a non-breaking change which adds functionality)
Observation: In tests carried out, an evolution of 20 points of performance and improvement in fcp, tti, tbt and lcp was noticed.
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖
Please select which version do you want to release:
-
[ ] Patch (backwards-compatible bug fixes)
-
[ ] Minor (backwards-compatible functionality)
-
[ ] Major (incompatible API changes)
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
- [ ] No thanks, I would rather do it manually 😞
Beep boop :robot:
Thank you so much for keeping our documentation up-to-date :heart:
@danzanzini Pull request updated with your recommendations.