Document Properties
Kbid
297R91
Last Modified
10-Feb-2021
Added to KB
10-Feb-2021
Public Access
Everyone
Status
Online
Doc Type
Support Articles
Product
ICM 7.10

Support Article - Add a Cookie Banner to the Storefront

Product Version

7.10

Product To Version


Status

final

1 Introduction

This article provides a brief overview on how to easily add a JavaScript-based cookie banner to your storefront.

Caution

This cookie banner solution is a technical example used for demonstration purposes only. It might not be sufficient for specific countries. Please follow the cookie law regulations of your country.

1.1 References

A JavaScript-based cookie banner:

2 Step by Step

The following steps are a fast and easy possibility to add a cookie banner to your storefront.

Please note that the following steps are just a quick sample on how to implement the banner to your storefront. If you want to customize or self-host your banner you may follow the steps from the linked GitHub page.

  1. Open your ICM back office, switch to the design view and open the utility slot of the header segment.
  2. Add a new free style HTML content segment to the utility slot.
  3. Copy the following code to the segment properties:

    <script type="text/javascript" id="cookiebanner"
        src="https://cdn.jsdelivr.net/gh/dobarkod/cookie-banner@1.2.2/dist/cookiebanner.min.js"
        data-height="50px" data-position="top"
        data-message="We use cookies to improve your browsing experience.">
    </script>
  4. Save your changes and customize if necessary:

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets