📦 plugin-application-insights
This plugin lets you track page views using Microsoft Application Insights.
This plugin is only active in production mode.
Configuration​
Install the plugin
- npm
- Yarn
- pnpm
npm install @rise4fun/docusaurus-plugin-application-insights
yarn add @rise4fun/docusaurus-plugin-application-insights
pnpm add @rise4fun/docusaurus-plugin-application-insights
Add the plugin to your plugin list along with the application-insights-web configuration object.
const config = {
plugins: [
...,
["@rise4fun/docusaurus-plugin-application-insights", {
config: {
instrumentationKey: "YOUR INSTRUMENTATION KEY HERE"
}
}]
]
}