Thanks to DSGVO some customers want to have a cookie notice:
Magento has this feature already built in. You can turn it on in the backend:
System > Configuration > General > Web > Session Cookie Management > Cookie Restriction Mode: YES
Beside this you can define what the customer