Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated layout.tsx, added Vercel Analytics and Speed Insights, handle ESLint conflict. #615

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

Nahom101-1
Copy link
Collaborator

What has changed? ✨

Why Add This?
Vercel Analytics: Tracks user interactions and page views in real-time, helping improve the site experience.
Speed Insights: Monitors Core Web Vitals to identify and fix performance.
Benefit: Improves user experience, SEO, and provides actionable data for future optimizations.

How did you solve/implement it? 🧠

  • Added the @vercel/analytics and @vercel/speed-insights packages.
  • Integrated them into layout.tsx for global usage.
  • Resolved an ESLint dependency conflict caused by eslint-config-next requiring eslint 8.x. Downgraded eslint to 8.57.1 to ensure compatibility.
    Screenshot 2025-01-15 at 15 37 03
    Screenshot 2025-01-15 at 15 37 15

@Nahom101-1 Nahom101-1 requested a review from Mosazghi as a code owner January 15, 2025 14:37
@Nahom101-1 Nahom101-1 linked an issue Jan 15, 2025 that may be closed by this pull request
Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
startgjovik-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 3:01pm

@Nahom101-1 Nahom101-1 merged commit e93d34e into development Jan 20, 2025
4 checks passed
@Nahom101-1 Nahom101-1 deleted the 614-add-vercel-analytics branch January 20, 2025 07:55
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.

Legg til Web Analytics og Speed Analytics via Vercel
1 participant