Simple Google Analytics binding for Vue.js apps, 534 bytes gzipped.
yarn add vue-ga
// ./router/index.jsVueconst router =
It works with all SPA, even in non-Vue apps, just invoke the
collect function after route changes, for example:
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D