More Premium Hugo Themes Premium Nuxt Themes

Google Analytics Module

Google Analytics Module for Nuxt 2

Google Analytics Module

Google Analytics Module for Nuxt 2

Author Avatar Theme by nuxt-community
Github Stars Github Stars: 630
Last Commit Last Commit: Sep 11, 2023 -
First Commit Created: Dec 18, 2023 -
default image

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:

  1. Clone this repository.
  2. Install the dependencies using either yarn install or npm install.
  3. 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.