Track without being tracked on Nuxt 2 with Ackee analytics
- Add
@nuxtjs/ackee
dependency to your project
yarn add @nuxtjs/ackee # or npm install @nuxtjs/ackee
- Add
@nuxtjs/ackee
to thebuildModules
section ofnuxt.config.js
{
buildModules: [
'@nuxtjs/ackee',
],
ackee: {
server: 'https://example.com',
domainId: 'xxx-xxx-xxx'
// see documentation for more!
}
}
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev
Thanks to Sergey Bedritsky for the initial implementation and transfer to the community of nuxt-ackee.