How to set up a cookie bar

What is a Cookie?

Cookies  are small blocks of data created by a web server or application while a user is browsing a website and placed on the user's computer or other device by the user's web browser. Cookies are placed on the device used to access a website, and more than one cookie may be placed on a user's device during a session. Cookies enable web applications to store information on the users' device in order to facilitate essential functions (such as logging in and authorisation) or non-essential functions (such as better usability or advertising tracking). 

Do I need a Cookie Bar?

European law (GDPR) requires that all websites targeting EU member states gain "informed consent" from users before storing non-essential cookies on their device.

Non-essential cookies are cookies used to analyse your behaviour on a website ('analytical' cookies) or cookies used to display advertisements to you ('advertising' cookies). Examples of this can be cookies from Facebook and Google Analytics.

Essential cookies, or strictly necessary cookies, are cookies that are essential for a website to function correctly. These cookies are necessary to provide an online service on a website or used solely to carry out or facilitate the transmission of communications over a network.


In addition, starting from the 15th of March 2024, Google will stop capturing a lot of data points from advertising platforms, like Google Ads, and Google Analytics 4. To keep using measurement, ad personalization, and remarketing features, you must collect consent for use of personal data from end users, and share consent signals with Google. This can be done by implementing a cookie bar to your shop.


This is not to be considered legal advice.

How to add a Cookie Bar to your Shop?

You can choose from the following options:

  1. Add a cookie bar yourself
  2. Ask us to add a cookie bar for you

Option 1: Add a Cookie Bar yourself


The cookie bar has to be configured to support Consent Mode v2:


How to add them yourself?

A) You can add a cookie bar to your site using Google Tag Manager. Read more.

B) You can also add your own cookie bar parameters in the Admin site, under Settings ⏵ Integrations.

This requires that you already have an account with Cookies Script or One Trust.

  • For Cookies Script

    Your script snippet will look something like this: <script type=... src="//cdn.cookie-script.com/s/540d***.js"></script> . Save the src value into your Admin, as shown above

  • For OneTrust

    Your script snippet will look something like: <script src="https://cdn.cookielaw.org/ scripttemplates/otSD***.js" type=... data-domain-script="a67c***" ></script> . Save both the src and data-domain-script values into your Admin, as shown above



Option 2: Ask us to add a Cookie Bar for your Shop

We can install a cookie bar for your shop. A configuration fee of 1400 NOK ex. VAT will apply.

Send an email to support@sharefox.no with the preferred design you want. 

Layout options:

Colours and texts can also be edited. After the first preview, you could send us additional information on what colors to use, and if some of the default text should be adjusted.

For an example of how this can be implemented, visit https://sharefox.no/, where this is live in use today:

Still need help? Contact Us Contact Us