vue-gtag

Global Site Tag (gtag.js) plugin for Vue
6,806,494 938
Install
npm install vue-gtag
Latest Version:3.7.1
Vue:3
Older releases:2
License:MIT
Last Updated:Apr 25, 2026
Links: GitHub  ·  npm
Maintainer: matteo_gabriele

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

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 Bluesky at matteogabriele.bsky.social for updates

Related Packages

vue3-analytics

Google Analytics plugin for Vue3

31,255 3
vue-ua

Help for Google Universal Analytics in Vue application

14,316 216
nuxt-gtag

Natively integrates Google Tag into Nuxt

2,718,645 377

Version History

Version Released Vue License
3.7.1 ^3.5.13 MIT
3.7.0 ^3.5.13 MIT
3.6.3 ^3.5.13 MIT
3.6.2 ^3.5.13 MIT
3.6.1 ^3.5.13 MIT
Pre-releases (27)
Version Released Vue License
3.6.0-beta.2 ^3.5.13 MIT
3.6.0-beta.0 ^3.5.13 MIT
3.5.2-beta.0 ^3.5.13 MIT
3.5.0-beta.0 ^3.5.13 MIT
3.0.0-rc.0 ^3.5.13 MIT