Overview
The @nuxtjs/google-analytics package is a Google Analytics integration for Nuxt 2 using vue-analytics. It allows users to track page views, events, user timings, screen views, and multiple domain IDs. Please note that this package does not support GA4.
Features
- Automatic page tracking
- Event batching
- User timings
- Screen view
- Multiple domain ID support
- Automatic Google Analytics script loading
- E-commerce support
Installation
To install the @nuxtjs/google-analytics package, you can follow these steps:
- Clone this repository.
- Install the dependencies using either yarn install or npm install.
- Start the development server using yarn dev or npm run dev.
Summary
The @nuxtjs/google-analytics package provides a Google Analytics integration for Nuxt 2. It has several useful features such as automatic page tracking, event batching, user timings, screen view tracking, and support for multiple domain IDs. However, it is important to note that this package does not support GA4.