Skip to content
Google Analytics plugin for Vue
Branch: master
Clone or download
MatteoGabriele Merge pull request #199 from DarkPurple141/patch-2
fix: changed 'utf8' to 'utf-8' for the injected script charset
Latest commit 0809338 Mar 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: add github templates Mar 11, 2018
__mocks__ test: add bootstrap, create-trackers and helpers Sep 6, 2017
__tests__ fix: incorrect merge behavior Dec 27, 2018
config fix(error handling): plugin swallows all errors Mar 3, 2018
docs Typo fix Oct 12, 2018
src fix: changed 'utf8' to 'utf-8' for the injected script charset Mar 10, 2019
.babelrc chore(tests): add jest configuration files Aug 18, 2017
.gitignore chore(build): change from rollup to webpack 3 Jul 31, 2017
.travis.yml
LICENCE Update LICENCE Jul 17, 2017
README.md
SUMMARY.md doc: update documentation Aug 25, 2018
jest.config.js feat(directives): add v-ga Dec 4, 2017
package-lock.json fix(bootstrap): missing ready hook Nov 27, 2018
package.json feat(directives): add v-ga Dec 4, 2017
yarn.lock fix(bootstrap): missing ready hook Nov 27, 2018

README.md



vue-analytics

Vue plugin for Google Analytics

Why should I use it?

The plugin isn't just a wrapper of the Google Analytics API, but provides a solution to issues that most of the time you don't want to deal with or you not even know you have to deal with.

For example:

  • Automatic Google Analytics script loading
  • Automatic page tracking
  • Event batching
  • Opt-out from Google Analytics with promise support
  • Multiple domain ID tracking system
  • Vuex support
  • E-commerce API
  • Vue error exception tracking system
  • Debugging API

Requirements

Vue ^2.0.0

Articles

Google Analytics, GDPR and Vuejs

Vuejs and Google Analytics

Tips & tricks for vue-analytics

Install

npm install vue-analytics

User guide

Issues and features requests

Please drop an issue, if you find something that doesn't work, or a feature request at https://github.com/MatteoGabriele/vue-analytics/issues

Follow me on twitter @matteo_gabriele

You can’t perform that action at this time.