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