Skip to content

simpleanalytics/vuepress-plugin

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
Simple Analytics logo

VuePress plugin

Simple Analytics is a clean, simple, and privacy friendly analytics tool. Actionable data in a beautiful dashboard. It does not use cookies and you can bypass ad blockers. Make sure to signup to get most value out of this plugin.

Install

Just run this command to install Simple Analytics for VuePress:

npm install vuepress-plugin-simple-analytics --save-dev

Add the plugin

Add the plugin to your plugins in .vuepress/config.js.

module.exports = {
  plugins: ["vuepress-plugin-simple-analytics"]
};

More features

We have more features like a custom domain to bypass ad-blockers, events, and allow the collect from DNT users. Events are enabled by default.

module.exports = {
  plugins: [
    [
      "vuepress-plugin-simple-analytics",
      {
        customDomain: "data.example.com", // You custom domain
        eventsGlobal: "sa_event", // The global events object for sa_event("click_button")
        skipDnt: true // When set to true you track the DNT users
      }
    ]
  ]
};

About

VuePress plugin for Simple Analytics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published