Cross-domain tracking

To enable cross-domain tracking you need to add your links in the linkers array in the configuration object

  1. import Vue from 'vue'
  2. import VueAnalytics from 'vue-analytics'
  3. Vue.use(VueAnalytics, {
  4. id: 'UA-XXX-X',
  5. linkers: ['example1.com', 'example2.com']
  6. })

More information about cross-domain tracking