Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "nuxt-gtag", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"configKey": "gtag", | ||
@@ -5,0 +5,0 @@ "compatibility": { |
{ | ||
"name": "nuxt-gtag", | ||
"type": "module", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"packageManager": "pnpm@8.15.4", | ||
@@ -6,0 +6,0 @@ "description": "Natively integrates Google Tag into Nuxt", |
@@ -38,3 +38,2 @@ ![Nuxt Google Tag module](./.github/social-card.jpg) | ||
```ts | ||
// `nuxt.config.ts` | ||
export default defineNuxtConfig({ | ||
@@ -87,3 +86,2 @@ modules: ['nuxt-gtag'], | ||
```ts | ||
// `nuxt.config.ts` | ||
export default defineNuxtConfig({ | ||
@@ -129,3 +127,2 @@ modules: ['nuxt-gtag'], | ||
```ts | ||
// `nuxt.config.ts` | ||
export default defineNuxtConfig({ | ||
@@ -176,3 +173,3 @@ modules: ['nuxt-gtag'], | ||
For even more control than the [consent mode](#set-up-consent-mode), you can delay the loading of the `gtag.js` script until the user has granted consent to your privacy policy. Set the `enabled` option to `false` to prevent loading the `gtag.js` script until you manually enable it: | ||
For even more control than the [consent mode](#google-consent-mode), you can delay the loading of the `gtag.js` script until the user has granted consent to your privacy policy. Set the `enabled` option to `false` to prevent loading the `gtag.js` script until you manually enable it: | ||
@@ -226,3 +223,3 @@ ```ts | ||
| `loadingStrategy` | `'async' \| 'defer'` | `'defer'` | The loading strategy to be used for the `gtag.js` script. | | ||
| `url` | `string` | `'https://www.googletagmanager.com/gtag/js'` | The URL to the `gtag.js` script. Use this option to load the script from a custom URL. | | ||
| `url` | `string` | [Source](https://www.googletagmanager.com/gtag/js) | The URL to the `gtag.js` script. Use this option to load the script from a custom URL. | | ||
@@ -229,0 +226,0 @@ ## Composables |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
591
42288
403