Skip to content

Add Vercel Web Analytics integration - #4

Merged
juliolmuller merged 1 commit into
mainfrom
vercel/vercel-web-analytics-integrati-sc6462
Oct 1, 2026
Merged

juliolmuller merged 1 commit into
mainfrom
vercel/vercel-web-analytics-integrati-sc6462

Conversation

@vercel

@vercel vercel Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Implemented Vercel Web Analytics for this Docusaurus project.

Summary:

  • Fetched the latest installation instructions from official Vercel documentation
  • Identified this is a Docusaurus project and used the official @docusaurus/plugin-vercel-analytics package
  • Installed the package using bun (the project's package manager)
  • Added the Vercel Analytics plugin configuration to docusaurus.config.ts

Files Modified:

  • package.json - Added @docusaurus/plugin-vercel-analytics@^3.10.2 to dependencies
  • docusaurus.config.ts - Added 'vercel-analytics' plugin to the plugins array with mode: 'auto'
  • bun.lock - Updated lockfile with new dependency tree

Implementation Details:
The Vercel Analytics plugin was configured following Docusaurus best practices:

  • Plugin configured with 'mode: 'auto'' to automatically detect the environment
  • The plugin will only be active in production builds, not during development
  • No debug mode enabled to keep production logs clean

Testing Performed:
✅ TypeScript compilation check passed (bun typecheck)
✅ Production build completed successfully (bun run build)
✅ All dependencies properly installed and resolved

The analytics integration is now ready. When deployed to Vercel with analytics enabled in the dashboard, the site will automatically start tracking page views and web vitals.


View Project · Web Analytics

Created by Julio L. Muller (juliolmuller) with Vercel Agent

Implemented Vercel Web Analytics for this Docusaurus project.

Summary:
- Fetched the latest installation instructions from official Vercel documentation
- Identified this is a Docusaurus project and used the official @docusaurus/plugin-vercel-analytics package
- Installed the package using bun (the project's package manager)
- Added the Vercel Analytics plugin configuration to docusaurus.config.ts

Files Modified:
- package.json - Added @docusaurus/plugin-vercel-analytics@^3.10.2 to dependencies
- docusaurus.config.ts - Added 'vercel-analytics' plugin to the plugins array with mode: 'auto'
- bun.lock - Updated lockfile with new dependency tree

Implementation Details:
The Vercel Analytics plugin was configured following Docusaurus best practices:
- Plugin configured with 'mode: 'auto'' to automatically detect the environment
- The plugin will only be active in production builds, not during development
- No debug mode enabled to keep production logs clean

Testing Performed:
✅ TypeScript compilation check passed (bun typecheck)
✅ Production build completed successfully (bun run build)
✅ All dependencies properly installed and resolved

The analytics integration is now ready. When deployed to Vercel with analytics enabled in the dashboard, the site will automatically start tracking page views and web vitals.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

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

Project Deployment Actions Updated
br-utils Ready Ready Preview Oct 1, 2026 4:35am UTC

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 737aced3-52d9-4169-a7e0-8604156113e8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

@juliolmuller
juliolmuller marked this pull request as ready for review October 1, 2026 04:36
@juliolmuller
juliolmuller requested a review from a team as a code owner October 1, 2026 04:36
@juliolmuller juliolmuller self-assigned this Oct 1, 2026
@juliolmuller juliolmuller added the enhancement New minor or major features. label Oct 1, 2026
@juliolmuller
juliolmuller merged commit 137fac4 into main Oct 1, 2026
7 checks passed
@juliolmuller
juliolmuller deleted the vercel/vercel-web-analytics-integrati-sc6462 branch October 1, 2026 04:37

This branch was successfully deployed

1 active deployment
Preview — 050a2abf Deployed Oct 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New minor or major features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant