MatteoGabriele/vue-gtag

View on GitHub
README.md

Summary

Maintainability
Test Coverage

<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/dw/vue-gtag?color=blue">
  </a>
  <a href="https://bundlephobia.com/result?p=vue-gtag">
    <img src="https://badgen.net/bundlephobia/minzip/vue-gtag">
  </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 twitter [@matteo\_gabriele](https://twitter.com/matteo_gabriele) for updates

## Sponsors

<a href="https://www.homerun.co/">
  <img width="350" src="https://i.imgur.com/3bNzRy1.png" alt="Homerun.co">
</a>