New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nuxt-gtag

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-gtag - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

dist/module.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc