Discourse Cookie Consent Banner

This theme component will allow you to add a customizable Cookie Consent banner to your forum. It simply provides an easy way for Discourse admins to make use of the open source Cookie Consent banner by Insites.

Preview at Discourse Theme Creator


There are several settings to help you personalize the banner to your Discourse forum.


Repository Link

If you are unfamiliar with theme components and how to install them, check out the theme installation guide . And if you’d like to learn more about Discourse themes, take a look at this guide .

Legal note:

I am not a lawyer. Please make sure this meets your individual legal needs at the time of installing. If there are ways to improve the usefulness of this component, please share!

Relevant reading:
List of cookies used by Discourse
Cookie compliance under GDPR


Thank you, this makes things easier.


Just started using this on my forum and I gotta say it’s a super awesome and easy way to add this in! Ty for doing this :smiley:!


This is great, thanks @tshenry :+1:t2:

Can I place a feature request to be considered for a future version please?

It would be good if we could have a checkbox to allow us to set if the “policy link url” opens out in to a new window/tab or not.

I’m linking to my own privacy policy at /privacy so I don’t really want that opening another browser tab :blush:


Sure, I’ve just added that as a setting. You can now choose between _self and _blank for the link target. _self is the new default. You should see the new setting as soon as you update the component from your admin panel :slightly_smiling_face:

Great suggestion @Richie!


Theme updated, works great :+1:t2:

Thanks for adding @tshenry :bowing_man:


@tshenry Can you add more text spaces for policy links and texts? We are using this component to take users’ consent regarding our three seperate rules/policies.

I :heart: this component. Before this component was created, we used this site, but after it was deprecated due to this change, we needed this component. Good job @tshenry!


While it looks like there might be a way to override things using the Cookie Consent API, I feel like there should be a simpler solution. As long as you link them to the /faq page of your site, users will be presented with all three items (faq/tos/privacy) in the nav links at the top of the page. I would think this is sufficient.

If you aren’t using the pages found in the “About” area of your site, would you be able to link to a topic that acts as a “hub” for the three separate rules/policies? Some ideas:

  • Put everything in the topic post and separate using headings
  • Separate the policies into individual replies to a topic
  • Place each policy in its own topic and link to them