A cookie consent banner is a notification that appears when a user goes to a website to let the user know about the site's use of cookies and to get the user's consent and preferences before storing or accessing cookies on their device.
The cookie consent banner is important for legal compliance in locations such as the EU and California where they are required.
It is possible to add a cookie consent banner to your site created using InDesign and in5 using a third-party tool. One such free tool is available from https://www.cookiesnotice.com/.
Here's how to add a cookie banner from https://www.cookiesnotice.com/ to your in5-exported content:
- Go to https://www.cookiesnotice.com/.
- Either use the default cookie banner or follow the instructions on their site to customize the appearance of the cookie banner.
- Use the COPY TEXT button to copy the text from https://www.cookiesnotice.com/.
- Open a text editor such as TextEdit (macOS) or Notepad (Windows) or an IDE such as Dreamweaver, which is available if you have the full Adobe Creative Cloud subscription.
- Paste the text into a new document and save it as a .htm or .html file.
- In InDesign, when you export your document with in5 (in5 > Easy Export Wizard... and click the Advanced button or in5 > Export HTML5 with in5...), go to the Resources section.
- In the HTML to Append section, click on the Browse button and navigate to the .htm or .html file that you created from the copied text and click OK to export.
Discover more ways that you can extend the functionality of your in5-exported content using the Resources section of the export dialog: