Document Tree
Document Properties
Kbid
297R91
Last Modified
09-Jul-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

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.

References

A JavaScript-based cookie banner:

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.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.