Simple Analytics Vue plugin
Just run this command to install Simple Analytics for Vue:
npm install simple-analytics-vue
Import in app
Import the plugin and add it to
Vue.use. You can add a
skip option which will define when page views should be skipped. This can be useful if you want to skip page views from yourself when developing your app.
You can also pass a function or promise to
skip which will be validated before injecting the Simple Analytics embed code:
You can also optionally specify a custom domain to bypass ad blockers. Read more about this in our documentation.