Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

vuepress-plugin-simple-analytics

1.0.3 • Public • Published

Simple Analytics 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", // The global events object for sa("click_button")
        skipDnt: true // When set to true you track the DNT users
      }
    ]
  ]
};

Install

npm i vuepress-plugin-simple-analytics

DownloadsWeekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

4.13 kB

Total Files

5

Last publish

Collaborators

  • avatar