Skip to content

Releases: johannschopplich/nuxt-gtag

v3.0.1

27 Aug 12:31
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v3.0.0

25 Aug 09:41
Compare
Choose a tag to compare

   🚨 Breaking Changes

   ℹ️ Migration

In v2.x and earlier, the enabled option was used to control manual initialization of the Google tag script. This option has been replaced with initMode in v3.x. To migrate your configuration, set the initMode option to manual:

export default defineNuxtConfig({
  modules: ['nuxt-gtag'],

  gtag: {
-    enabled: false,
+    initMode: 'manual',
    id: 'GX-XXXXXXXXXX'
  }
})

The enabled option is still available in v3.x, but is now used to disable the Google tag module for the current environment. This is useful if you want to disable the module in development or staging environments:

export default defineNuxtConfig({
  modules: ['nuxt-gtag'],

  gtag: {
    enabled: process.env.NODE_ENV === 'production',
    id: 'G-XXXXXXXXXX'
  }
})
    View changes on GitHub

v2.1.0

25 Jul 17:15
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v2.0.7

13 Jul 06:34
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v2.0.6

17 May 06:18
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v2.0.5

07 Mar 08:02
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v2.0.4

28 Feb 13:15
Compare
Choose a tag to compare

   🏎 Performance

    View changes on GitHub

v2.0.3

28 Feb 13:09
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v2.0.2

28 Feb 13:03
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v2.0.1

27 Feb 11:22
Compare
Choose a tag to compare

No significant changes

    View changes on GitHub