Skip to content
ChatJS
Esc
↑↓navigate↵open⌘Jpreview
On this page

Vercel Analytics

Add Vercel Analytics to your application layout

This plugin mounts the Vercel Analytics client in your app’s layout.

Installation

bunx chat-js@alpha add vercel-analytics

The CLI installs the client source and generates its layout registration. This plugin adds no database tables.

Usage

The generated layout renders the Analytics component. Configure the corresponding service in your Vercel project to view its data.

Customization

Edit chatjs/plugins/vercel-analytics/component.tsx to customize the component. Its client-plugin.ts exposes the layout contribution. It does not register server routes or require a ChatJS enable flag.

See Using plugins for installation behavior and the Plugin API for the layout contract.

Last updated on Nov 8, 2026

Was this page helpful?