nuxt-ackee

2.0.0 • Public • Published

nuxt-ackee

npm version npm downloads Circle CI Codecov License

Nuxt.js module for Ackee analytics

📖 Release Notes

Setup

  1. Add nuxt-ackee dependency to your project
yarn add --dev nuxt-ackee # or npm install --save-dev nuxt-ackee 
  1. Add nuxt-ackee to the buildModules section of nuxt.config.js
{
  // use `modules` property is using Nuxt < 2.9.0
  buildModules: [
    'nuxt-ackee'
  ],
  ackee: {
    server: 'https://example.com',
    domainId: 'xxx-xxx-xxx',
    ignoreLocalhost: false, // defaults to true
    detailed: true // defaults to false
  }
}

The module will directly record each route (initial + client-side navigation).

It will also expose this.$ackee and context.$ackee on client-side which is an instance of ackee-tracker.

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) Sergey Bedritsky sergey.bedritsky@gmail.com

/nuxt-ackee/

    Package Sidebar

    Install

    npm i nuxt-ackee

    Weekly Downloads

    13

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    8.03 kB

    Total Files

    6

    Last publish

    Collaborators

    • atinux
    • bdrtsky