Cookie consent
Add a cookie consent banner to your published site, choose where it appears, and preview it on desktop and mobile.
On this page
A cookie banner asks your visitors to allow or decline cookies when they open your site. In the Cookies tab you choose where the banner appears and which page its Learn More link opens.
Check your local privacy law
The banner is a tool, not legal advice. Check the privacy laws that apply where you and your visitors live, and write a privacy page that matches how your site uses cookies.
#Open cookie settings
Open your project
In the editor, click the project name in the top bar.
Click the Cookies tab
The tab has a Select a template panel on the left and a Preview on the right.
#Choose the banner position
Click a template
Choose Top Banner, Right Floating Box, Left Floating Box, Center Floating Box, or Bottom Banner. The preview changes right away.
Choose the Learn More page
Under Learn More Link Destination, open the list and pick the page that visitors see when they click Learn More in the banner. Pick your privacy page. The list shows No page selected until you choose one.
#Preview the banner
The Preview panel shows the banner on a sample page. A label next to Preview names the template you chose.
Click Desktop
The sample page shows the banner at desktop width.
Click Mobile
The sample page narrows to a phone width. Check that the banner does not cover content you need visitors to see.
The banner has an Allow button, a Decline button, and a Learn More link.
#Save and publish
Click Save
Click Save at the bottom of the left panel. A notification says that the cookie settings are saved.
Publish your project
The banner appears on your live site after you publish. See Publishing.