An open API service indexing awesome lists of open source software.

https://github.com/simpleanalytics/vuepress-plugin

VuePress plugin for Simple Analytics
https://github.com/simpleanalytics/vuepress-plugin

Last synced: about 2 months ago
JSON representation

VuePress plugin for Simple Analytics

Awesome Lists containing this project

README

          


Simple Analytics logo

# VuePress plugin

[Simple Analytics](https://simpleanalytics.com) is a clean, simple, and privacy friendly analytics tool. Actionable data in a beautiful dashboard. It does [not use cookies](https://docs.simpleanalytics.com/what-we-collect) and you can [bypass ad blockers](https://docs.simpleanalytics.com/bypass-ad-blockers). Make sure [to signup](https://simpleanalytics.com) to get most value out of this plugin.

## Install

Just run this command to install Simple Analytics for [VuePress](https://vuepress.vuejs.org/):

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

## Add the plugin

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

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

### More features

We have more features like a [custom domain](https://docs.simpleanalytics.com/bypass-ad-blockers) to bypass ad-blockers, [events](https://docs.simpleanalytics.com/events), and [allow the collect from DNT users](https://docs.simpleanalytics.com/dnt). Events are enabled by default.

```js
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
}
]
]
};
```