tastejs / nuxt-movies

Nuxt.js Movies - a TMDB client optimized for Core Web Vitals
https://nuxt-movies.vercel.app/
74 stars 23 forks source link

Cookie consent banner improvements #46

Open pi0 opened 3 years ago

pi0 commented 3 years ago

Some other ideas (to be implemented if we go by module approach):

I expect artifact of this issue (other than fixing in nuxt-movies) can be a nuxt module for implementing SSR-friendly cookie and probably an blog article to mention tips

pi0 commented 3 years ago

We can also SSR render banner but I'm not sure if it violates EU rules or not to keep consent cookie in cookies. cookiebot for instance is doing this so assume it is compliance. /cc @addyosmani

addyosmani commented 3 years ago

Just to check, is the ask whether we can SSR render the banner if we need to check cookies in order to tell whether the banner needs to be hidden or not?

pi0 commented 3 years ago

Yes. We can make use of a cookie know consent status universally. Just wanted to ensure this is okay :)