π¦ 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.
Installation
Section titled βInstallationβnpm install --save @docusaurus/plugin-vercel-analyticsConfiguration
Section titled βConfigurationβAccepted fields:
<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. |
</APITable>Example configuration
Section titled βExample configurationβYou can configure this plugin through plugin options.
export default {
plugins: [
[
'vercel-analytics',
{
debug: true,
mode: 'auto',
},
],
],
};