🔥 HEADS UP! This is version 2 branch and it requires Vue 3. If you are looking for a Vue 2 compatible version, use version 1. You can find both documentations here
vue-gtag
Global Site Tag plugin for Vue
The global site tag (gtag.js) is a JavaScript tagging framework and API that allows you to send event data to Google Analytics, Google Ads, and Google Marketing Platform. For general gtag.js documentation, read the gtag.js developer guide.
Requirements
Vue ^3.0.0
Install
npm install vue-gtag@next
Documentation
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-gtag/issues
Follow me on twitter @matteo_gabriele for updates