UI for adding <head> tags for EU cookie consent compliance
Release notes
Allow administrators to add HTML code to <head>
tags via the administration Web interface, for easy customization and compliance with EU cookie consent laws.
Problem to solve
Administrators of many self-hosted instances of GitLab serve customers in the European Union, so compliance with their cookie consent policies is necessary. Not all administrators can rely upon the same cookie banner code, because different companies and organizations may have their own policies and agreements about which code to use on their sites.
Proposal
The proposed solution is to create a text field in the administration section of GitLab, allowing administrators to specify CSS and JavaScript tags automatically included in the <head>
section of each page GitLab serves. This resolves the need to patch GitLab after every upgrade of GitLab Omnibus in order to maintain cookie consent code.
Intended users
Feature Usage Metrics
Users are getting value from this feature if any users who need to are able to use it.
Does this feature require an audit event?
Yes, an audit event is necessary, for accountability of site administrators.