๋ฉ”์ธ ์ปจํ…์ธ ๋กœ ์ด๋™
๋ฒ„์ „: Canary ๐Ÿšง

๐Ÿ“ฆ 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.

production only

This plugin is always inactive in development and only active in production (docusaurus build) to avoid polluting the analytics statistics.

Installationโ€‹

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

Configurationโ€‹

์„ค์ •ํ•  ์ˆ˜ ์žˆ๋Š” ํ•„๋“œ

์˜ต์…˜๋ช…ํƒ€์ž…๊ธฐ๋ณธ๊ฐ’์„ค๋ช…
modestring'auto'Override the automatic environment detection. Read the official docs for details.
debugbooleanundefinedEnable browser console logging of analytics events. Read the official docs for details.

Example configurationโ€‹

You can configure this plugin through plugin options.

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