Our friends from Seeds submitted a new app on Enonic Market which can be used to add cookie consent overlay to your sites built on Enonic XP. Please welcome - Cookiebot app.
Note that you will need an account on the Cookiebot site to set up integration.