This will allow us to track the overall performance of the site according to the Core Web Vitals standard.
I've also included an environment variable for toggling this setting. @lovesitecore you can enable this feature by adding NEXT_PUBLIC_ENABLE_SPEED_INSIGHTS=true to the project's environment variables.
How Has This Been Tested?
I've added this snippet locally and run the site.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] I have read the Contributing guide.
[x] My code/comments/docs fully adhere to the Code of Conduct.
[x] My change is a code change.
[] My change is a documentation change and there are NO other updates required.
Description / Motivation
Added the snippet for enabling Vercel's Speed Insights functionality for the SUGCON EU site. https://vercel.com/sitecoretechnicalmarketing/sugcon24/speed-insights
This will allow us to track the overall performance of the site according to the Core Web Vitals standard.
I've also included an environment variable for toggling this setting. @lovesitecore you can enable this feature by adding
NEXT_PUBLIC_ENABLE_SPEED_INSIGHTS=true
to the project's environment variables.How Has This Been Tested?
I've added this snippet locally and run the site.
Types of changes
Checklist: