Skip to content

Add Vercel Analytics and Speed Insights - #19

Merged
nedcut merged 2 commits into
mainfrom
feat/vercel-analytics
Jul 20, 2026
Merged

Add Vercel Analytics and Speed Insights#19
nedcut merged 2 commits into
mainfrom
feat/vercel-analytics

Conversation

@nedcut

@nedcut nedcut commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Adds @vercel/analytics and @vercel/speed-insights to the root layout.

  • <Analytics /> — page-view tracking
  • <SpeedInsights /> — Core Web Vitals (LCP/CLS/INP) from real visitors

Both mount inside <body> so they load once per session rather than per route, and both no-op outside Vercel, so local dev and the E2E build are unaffected.

Needs Analytics + Speed Insights enabled in the Vercel project dashboard before data flows.

Summary by CodeRabbit

  • New Features
    • Added site-wide performance monitoring and analytics.
    • Enabled speed insights across all pages.

Copilot AI review requested due to automatic review settings July 20, 2026 16:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lofoten-map Ready Ready Preview, Comment Jul 20, 2026 5:02pm

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@nedcut, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 51 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 6736a444-c484-4b72-a1c2-9bbec60c37a0

📥 Commits

Reviewing files that changed from the base of the PR and between 022f209 and e81424c.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • app/layout.tsx
  • package.json
📝 Walkthrough

Walkthrough

Adds Vercel Analytics and Speed Insights dependencies, imports both components in the root layout, and renders them alongside page content for global instrumentation.

Changes

Global Vercel instrumentation

Layer / File(s) Summary
Register and mount instrumentation
package.json, app/layout.tsx
Adds the Vercel production dependencies and renders Analytics and SpeedInsights from the root layout for all pages.

Estimated code review effort: 2 (Simple) | ~5 minutes

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding Vercel Analytics and Speed Insights.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/vercel-analytics

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

# Conflicts:
#	app/layout.tsx
#	package-lock.json
@nedcut
nedcut merged commit 9af82b4 into main Jul 20, 2026
4 checks passed
@nedcut
nedcut deleted the feat/vercel-analytics branch July 20, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants