-
Get started · vue-analytics
Track multiple accounts
Pass an array of strings for a multiple tracking system. Every hit will be fired twice: each time with a different tracker name
import Vue from 'vue'
import VueAnalytics from '...
-
v-ga · vue-analytics
v-ga
This directive allows us to centralize all track events in one object and share it across the entire application without needs to add extra logic to our component methods
Taking as an example a b...
-
Page tracking · vue-analytics
Auto track with custom data
When auto-tracking is possible to pass a function with a custom object shape to use as a tracker.
The
Vue.use(VueAnalytics, {
id: 'UA-XXX-X',
router,
autoTracking: {...
-
E-commerce · vue-analytics
E-commerce
All e-commerce features are built-in in the plugin, so there's no need to require any e-commerce libraries: just enable the e-commerce features from the plugin configuration
import Vue from...
-
How to load Google Analytics · vue-analytics
By default nothing is needed: the plugin does everything for you!
However, in some cases, you might want to avoid auto-loading the analytics.js script because:
maybe the framework you're using already...
-
Getting Started · vue-i18n-manager
The
vuex store instance in order to run, because has English as a default language.
Vue.use(VueI18nManager, { store })
If you decide to to add your custom default language, then you need: a language...