Maybe you are looking for a cookie consent plugin for Joomla?
SP Cookie Consent V1.1 lets you show a legal notice on your Joomla website to tell the visitors that your website uses cookies. In plugin options you can use HTML tags. This plugin shows your cookie and privacy notice anytime a...