How to show the "cookie consent"?

We recently hosted our own Discourse instance using and wanted to make sure that we show a “This site uses cookies” thing whenever someone opened the website, I tried the template from and pasted that into the head tag of our setup but it didn’t change anything.

Have anyone else had any luck setting up cookie consent message with Discourse, if so, any help there would be appareciated.

Hi and welcome to Meta @om26er :wave:

We have a theme component that handles cookie banners that you can find here:


Thanks, that worked :slight_smile:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.