Need help with vue-analytics?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

1.8K Stars 134 Forks MIT License 474 Commits 6 Opened issues


Google Analytics plugin for Vue

Services available


Need anything else?

Contributors list

:warning: This plugin will stop receiving feature requests. I will only spend time for important bug fixes. Google moved from analytics.js to its new gtag.js library and I've created a new plugin called vue-gtag. I suggest you to start using that one if you are about to create a new project.


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


Vue ^2.0.0


Google Analytics, GDPR and Vuejs

Vuejs and Google Analytics

Tips & tricks for vue-analytics


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

Follow me on twitter @matteo_gabriele

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.