Enable Vercel Speed Insights Setup Guide#1
Merged
Conversation
## Implemented Vercel Speed Insights Successfully added Vercel Speed Insights to the SOLACHEEMS landing page following the HTML implementation guide. ### Changes Made: **Modified:** - `solacheems_landing_page.html` - Added Speed Insights tracking scripts before the closing `</body>` tag ### Implementation Details: For HTML projects, Vercel Speed Insights doesn't require installing the `@vercel/speed-insights` package. Instead, the tracking scripts are added directly to the HTML file. Added two script tags just before the closing `</body>` tag: 1. **Speed Insights initialization script** - Initializes the `window.si` function and queue 2. **Speed Insights loader script** - Deferred loading of the tracking script from `/_vercel/speed-insights/script.js` ### What's Next: According to the guide, after deploying to Vercel: 1. The route `/_vercel/speed-insights/*` will be automatically available 2. Speed Insights needs to be enabled in the Vercel dashboard under the project's Speed Insights tab 3. Once deployed and enabled, performance metrics will start being collected 4. Data can be viewed in the Vercel dashboard under Speed Insights ### Notes: - The implementation follows the official HTML framework instructions exactly - No package installation or build step required for HTML projects - The scripts are placed at the end of the body for optimal page load performance - The tracking script uses `defer` attribute to prevent blocking page rendering Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Contributor
Author
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented Vercel Speed Insights
Successfully added Vercel Speed Insights to the SOLACHEEMS landing page following the HTML implementation guide.
Changes Made:
Modified:
solacheems_landing_page.html- Added Speed Insights tracking scripts before the closing</body>tagImplementation Details:
For HTML projects, Vercel Speed Insights doesn't require installing the
@vercel/speed-insightspackage. Instead, the tracking scripts are added directly to the HTML file.Added two script tags just before the closing
</body>tag:window.sifunction and queue/_vercel/speed-insights/script.jsWhat's Next:
According to the guide, after deploying to Vercel:
/_vercel/speed-insights/*will be automatically availableNotes:
deferattribute to prevent blocking page renderingView Project · Speed Insights
Created by alfredocuy99-6806 with Vercel Agent