vue-gtag
Version:
Global Site Tag (gtag.js) plugin for Vue
45 lines (31 loc) • 1.53 kB
Markdown
<p align="center">
<img width="250" src="https://i.imgur.com/AlAf04U.png">
<br>
<a href="https://npm.im/vue-gtag">
<img src="https://badgen.net/npm/v/vue-gtag">
</a>
<a href="https://npm.im/vue-gtag">
<img src="https://badgen.net/npm/dm/vue-gtag?color=blue">
</a>
<a href="https://bundlephobia.com/result?p=vue-gtag">
<img src="https://badgen.net/bundlephobia/minzip/vue-gtag">
</a>
<a href="https://circleci.com/gh/MatteoGabriele/vue-gtag">
<img src="https://circleci.com/gh/MatteoGabriele/vue-gtag.svg?style=svg">
</a>
</p>
# 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](https://developers.google.com/analytics/devguides/collection/gtagjs), read the gtag.js developer guide.
## Requirements
Vue ^3.0.0
## Install
```bash
npm install vue-gtag
```
## Documentation
- [vue-gtag documentation](https://matteo-gabriele.gitbook.io/vue-gtag/)
- [gtag.js official documentation](https://developers.google.com/analytics/devguides/collection/gtagjs)
## 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](https://github.com/MatteoGabriele/vue-gtag/issues)
Follow me on Bluesky at [matteogabriele.bsky.social](https://bsky.app/profile/matteogabriele.bsky.social) for updates