Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nuxt-community/google-analytics-module

Google Analytics Module for Nuxt 2
https://github.com/nuxt-community/google-analytics-module

analytics google-analytics nuxt nuxt-module vue-analytics

Last synced: 4 days ago
JSON representation

Google Analytics Module for Nuxt 2

Awesome Lists containing this project

README

        

[![@nuxtjs/google-analytics](https://google-analytics.nuxtjs.org/preview.png)](https://google-analytics.nuxtjs.org)

> **⚠ WARNING: This package does not support GA4. **
> This package currently only supports GA3/UA

# @nuxtjs/google-analytics

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]

> [Google Analytics](https://analytics.google.com/analytics/web/) integration for [Nuxt 2](https://nuxt.com) using [vue-analytics](https://github.com/MatteoGabriele/vue-analytics).

- [✨  Release Notes](./CHANGELOG.md)
- [📖  Documentation](https://google-analytics.nuxtjs.org)

## Nuxt 3

If you need Nuxt 3 support can use the alternative module [nuxt-gtag](https://github.com/johannschopplich/nuxt-gtag).

## Features

- Automatic page tracking
- Event batching
- User timings
- Screen view
- Multiple domain ID
- Automatic Google Analytics script loading
- E-commerce support

[📖  Read more](https://google-analytics.nuxtjs.org)

## Contributing

1. Clone this repository
2. Install dependencies using `yarn install` or `npm install`
3. Start development server using `yarn dev` or `npm run dev`

## License

[MIT License](./LICENSE)

Copyright (c) Nuxt Community

[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/google-analytics/latest.svg
[npm-version-href]: https://npmjs.com/package/@nuxtjs/google-analytics

[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/google-analytics.svg
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/google-analytics

[github-actions-ci-src]: https://github.com/nuxt-community/analytics-module/workflows/ci/badge.svg
[github-actions-ci-href]: https://github.com/nuxt-community/analytics-module/actions?query=workflow%3Aci

[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/analytics-module.svg
[codecov-href]: https://codecov.io/gh/nuxt-community/analytics-module

[license-src]: https://img.shields.io/npm/l/@nuxtjs/google-analytics.svg
[license-href]: https://npmjs.com/package/@nuxtjs/google-analytics