Skip to content

A plugin to integrate Application Insights with VuePress

Notifications You must be signed in to change notification settings

Robjam/vuepress-plugin-application-insights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VuePress plugin Application Insights

A small wrapper to integrate Application Insights with VuePress.

Current Features:

In addition to Autocollection pageviews are tracked.

Getting Started:

Add the plugin

// with yarn
yarn add vuepress-plugin-application-insights

// with npm
npm -i vuepress-plugin-application-insights

Add the plugin to config.js

// config.js
module.exports = {
    // ...
    plugins: [
        ['vuepress-plugin-application-insights', {
            AppInsightsOptions:{
                instrumentationKey: process.env.APP_INSIGHTS_INSTRUMENTATION_KEY, // the Instumentation key is REQUIRED
                // more configuration settings can be found here: https://github.com/microsoft/ApplicationInsights-JS#configuration
            }
        }],
    ]
}

Contributing

PRs welcome!

About

A plugin to integrate Application Insights with VuePress

Resources

Stars

Watchers

Forks

Packages

No packages published