Debug

Implements Google Analaytics debug library.

Please remember that it is for debug only. The file size of analytics_debug.js is way larger than analytics.js

Example:

  1. Vue.use(VueAnalytics, {
  2. id: 'UA-XXX-X',
  3. debug: {
  4. enabled: false, // default value
  5. trace: false, // default value
  6. sendHitTask: true // default value
  7. }
  8. })

Google Analytics docs: debugging