nuxt-community / firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥
https://firebase.nuxtjs.org
MIT License
641 stars 99 forks source link

Shouldn't we able to enable cookie secure flags for Analytics module? #522

Closed looiyk closed 3 years ago

looiyk commented 3 years ago

Version @nuxtjs/firebase: "^7.1.1" firebase: "^8.1.1" nuxt: "^2.15.4"

We can implement google cookies via this method However firebase does not have this feature to enable it.

Should it be the case or have an object to turn those on? I use a lot of the console UI and less on google analytics UI, so it would be nice to enable the cookie parameters.

gtag('config', 'GA_MEASUREMENT_ID', {
  'cookie_prefix': 'MyCookie',
  'cookie_domain': 'blog.example.com',
  'cookie_expires': 28 * 24 * 60 * 60  // 28 days, in seconds
});
lupas commented 3 years ago

Hey @looiyk This doesn't seem to have anything to do with this module. IF this is a general Firebase questions, please ask it at their Repo or on StackOverflow.

Thanks Pascal