Giter Club home page Giter Club logo

nuxtjs-countly's People

Contributors

marcdiethelm avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gmoigneu

nuxtjs-countly's Issues

this.$countly not available

I'm using nuxt 2.10.2 in my vue application and your plugin version 0.6.0 and have installed your plugin via:

npm install --save @marcdiethelm/nuxtjs-countly

added the nuxtjs-countly module:

  ...
  modules: [
    '@nuxtjs/apollo',
    'nuxt-svg-loader',
    'bootstrap-vue/nuxt',
    '@nuxtjs/axios',
    '@marcdiethelm/nuxtjs-countly',
    'nuxt-polyfill',
  ],
  ...

and configured:

  countly: {
    url: config.countly.url,
    app_key: config.countly.appKey,
    trackerSrc: config.countly.src,
    trackers: ['track_sessions', 'track_pageview', 'track_clicks', 'track_scrolls', 'track_errors'],
    debug: process.env.NODE_ENV !== 'production'
  },

The automatic tracking of events works fine and I get data in my countly account from my application. But when trying to access this.$countly to track custom events, the this.$county value is undefined. What are the possible problems, or do you have an idea how to debug this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.