This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
v3.0.0
New feature
Possibility to add multiple accounts to track at the same time
Vue.use(VueAnalytics, {
id: ['UA-XXX-X', 'UA-ZZZ-Z']
})
Breaking changes
No more manual script loading or manual auto tracking.
- The script is auto-injected when one or more ids are added to the configuration.
- Auto-tracking starts automatically when the VueRouter instance is passed.