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
- Host: GitHub
- URL: https://github.com/simpleanalytics/vuepress-plugin
- Owner: simpleanalytics
- Created: 2020-01-18T21:47:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T21:09:55.000Z (over 3 years ago)
- Last Synced: 2026-03-30T18:36:58.994Z (3 months ago)
- Language: JavaScript
- Homepage: https://simpleanalytics.com
- Size: 899 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
}
]
]
};
```