vuepress-plugin-plausible-analytics

0.2.1 • Public • Published

vuepress-plugin-plausible-analytics

VuePress plugin to add analytics from plausible.io

Install

Run command:

yarn add -D vuepress-plugin-plausible-analytics

Usage

Add in file .vuepress/config.js:

module.exports = {
  plugins: [
    "plausible-analytics",
  ]
}

Configuration

Pass domain to use your custom domain:

module.exports = {
  plugins: [
    ["plausible-analytics", {
      domain: 'stats.yoursite.com'
    }]
  ]
}

License

MIT

/vuepress-plugin-plausible-analytics/

    Package Sidebar

    Install

    npm i vuepress-plugin-plausible-analytics

    Weekly Downloads

    22

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    3 kB

    Total Files

    5

    Last publish

    Collaborators

    • leoloso