Ask A Question

Notifications

You’re not receiving notifications from this thread.

GDPR and Rails 6

Mads Holm Oldfield Nielsen asked in Javascript

I am trying to add a GDPR consent javascript to my rails 6 app.

I have found the cookies-eu-banner (https://github.com/Alex-D/Cookies-EU-banner), which should be easy as pie to integrate, but I just can not get it to work.

I would absolutely love a short description of how to do it on Rails 6 and webpacker.

Thanks.

Reply

Hi, Did you figure out a solution for this? I can't seem to get it to work either... :/

Reply

Hi Amanda.

I got it working following rossta's advice stackoverflow:
https://stackoverflow.com/questions/62789771/how-to-add-the-cookies-eu-banner-to-rails-6-site/64118286#64118286

I did have to restart the app several times before it worked.

Hope this helps you.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.