New Discussion

Notifications

You’re not receiving notifications from this thread.

GDPR and Rails 6

2
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.

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

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.

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.