Cookie compliance is a legal requirement in many countries, designed to protect internet users from having their personal data collected without their knowledge or consent.
The banner must be displayed on every page of your website, and must be visible to users before they can continue to browse.
If you are using Google Analytics, you will also need to add a snippet of code to your website to allow users to opt-out of being tracked.
Cookie compliance is a complex issue, and you should seek legal advice if you are unsure about your obligations. However, by taking these steps you can be sure that you are protecting your users' privacy, and complying with the law.