johannschopplich / nuxt-gtag

🔸 Google Analytics & Ads integration made easy
https://developers.google.com/tag-platform/gtagjs
MIT License
302 stars 9 forks source link

Warning 'Third-party cookie will be blocked in future Chrome versions...' after installing nuxt-gtag #81

Closed Pawel2505 closed 4 months ago

Pawel2505 commented 4 months ago

Environment

Operating System: Windows_NT Node Version: v18.12.1 Nuxt Version: 3.11.2 CLI Version: 3.11.1 Nitro Version: 2.9.6 Browser: Chrome Version 126.0.6478.127

Reproduction

I set up nuxt-gtag in my app with the basic configuration i.e. gtag: { id: 'my_id', },

Describe the bug

After running my Nuxt App locally I get the following warning in Chrome console:

'Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox'

Additional context

No response

Logs

No response

johannschopplich commented 4 months ago

This originates in the official gtag.js from Google that will be injected on the page, not this module.