Skip to main content
Docusaurus

Search documentation

Type to search this documentation.

On this pageOverview

πŸ“¦ plugin-vercel-analytics

Vercel Analytics provides comprehensive insights into your website's visitors, tracking top pages, referrers, and demographics like location, operating systems, and browser info.

npm2yarn
npm install --save @docusaurus/plugin-vercel-analytics

Accepted fields:

mdx-code-block
<APITable>
Name Type Default Description
mode string 'auto' Override the automatic environment detection. Read the official docs for details.
debug boolean undefined Enable browser console logging of analytics events. Read the official docs for details.
mdx-code-block
</APITable>

You can configure this plugin through plugin options.

docusaurus.config.js
export default {
  plugins: [
    [
      'vercel-analytics',
      {
        debug: true,
        mode: 'auto',
      },
    ],
  ],
};
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu