Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

Cookie consent banner and Google Consent Mode v2

How to set up Shoporama's free cookie consent app: cookie categories, automatic blocking, withdrawing consent, and Google Consent Mode v2.

Reading time: about 14 minutes
Store owner

Shoporama has a built-in, free cookie consent app. It shows a cookie banner to your customers, automatically blocks analytics and marketing cookies until consent is given, and supports Google Consent Mode v2. So you do not need to buy an external consent management tool like Cookiebot. It is still your responsibility, though, that your setup and your cookie policy comply with the rules.

This article walks through the setup and the most important features. If you want to know more about the legislation itself, read GDPR and cookie rules for your online store. You can find a complete list of the cookies your store sets in Which cookies does Shoporama set?.

How to turn on cookie consent

  1. Go to Integrations > Apps in your admin
  2. Find the Cookie Consent app and install it
  3. Choose a display type, and customize the texts, button colors, and the content of your cookie policy if you like
  4. Save

The app is free, works with all themes, and is inserted automatically on all pages, so you do not have to change anything in your theme. It can take up to four hours before the banner and your changes appear on all pages.

What the customer sees

On the first visit, the cookie banner is shown, and the customer can choose between three options:

  • Accept all: Analytics and marketing cookies are allowed
  • Reject all: Only essential cookies are allowed
  • Settings: The customer turns categories on and off themselves

You can choose between two display types: a classic overlay in the middle of the screen or a discreet bar at the bottom of the page. When the customer has made a choice, the page reloads automatically so the allowed scripts start correctly. The page remembers where the customer came from, for example a Google search or a link on another site, so Google Analytics still sees the correct traffic source.

After the customer has made a choice, a small cookie icon appears in the bottom left corner of the page. The customer can always change their choice there.

Cookie categories

The app works with three categories:

  • Essential: Cart, login, payment, and the consent cookie itself. Always active and cannot be turned off.
  • Analytics: Analytics tools like Google Analytics and Hotjar
  • Marketing: Advertising platforms like Meta (Facebook), Google Ads, TikTok, LinkedIn, Pinterest, Snapchat, and Microsoft Ads, as well as email tools like Klaviyo

Cookies are categorized automatically based on their name. The app recognizes cookies from the most widely used services, and cookies it does not recognize are treated as tracking cookies and blocked until consent is given.

Automatic blocking

From the moment the page loads, the app intercepts the cookies that scripts on the page try to set on your store's domain. Until the customer has made a choice, all analytics and marketing cookies are blocked automatically. If the customer gives consent, the held-back cookies are set right away. If the customer rejects, they stay blocked. The app cannot block cookies that other services set on their own domains.

Your tracking scripts still run, but their cookies on your store's domain are only set after consent. The script itself can still send data to the platform, though. If you use Shoporama's built-in tracking, you handle this with Use Consent Mode (see below). If you have added scripts yourself, for example a pixel under HTML fields or in your own Google Tag Manager, they must be set up to respect Google Consent Mode.

Withdrawing consent

The customer can click the cookie icon at the bottom of the page at any time and change their choice. If consent is withdrawn, the app automatically deletes the relevant analytics and marketing cookies from the browser and also clears related data in the browser's local storage.

The consent is saved with a timestamp in the customer's browser and is valid for up to 12 months. After that, the customer is asked to choose again. Some browsers, such as Safari, delete it earlier on their own, and the customer is then asked again on the next visit.

Google Consent Mode v2

Consent Mode v2 is Google's standard for consent signals, and since March 2024, Google has required it if you want to use data from visitors in the EU for personalized advertising and audiences in Google Ads and Google Analytics. The app automatically sends the four signals to Google:

  • analytics_storage: Controls Google Analytics cookies
  • ad_storage: Controls Google Ads cookies
  • ad_user_data: Controls sharing of user data with Google
  • ad_personalization: Controls personalized ads

All signals start as "denied" and are updated automatically based on the customer's choice. Because Google still receives anonymous signals when the customer rejects, Google can model some of the conversions that would otherwise be missing. This gives a more accurate picture in Google Analytics and Google Ads, even when some customers say no to cookies.

Connecting to Shoporama's tracking

If you use Shoporama's built-in tracking, you can connect it directly to cookie consent:

  1. Make sure the Cookie Consent app is installed (see above)
  2. Go to Webshop > Tracking
  3. Make sure Enable tracking is turned on (otherwise the checkbox in the next step is not shown)
  4. Check Use Consent Mode
  5. Save

The tracking in the browser then respects the customer's choice in the cookie banner, and the advertising platforms receive the correct consent signals. Before the customer has chosen, nothing is sent to Google Analytics. Without the checkbox, the tracking ignores the customer's choice. The Meta pixel fires, for example, even if the customer has rejected, and the app only blocks the cookies themselves.

Tracking settings in Shoporama on the Webshop > Tracking page with Enable tracking, Enable server-side tracking, and Use Consent Mode turned on, and a frame around Use Consent Mode and the texts below the checkbox
On the Webshop > Tracking page, you check Use Consent Mode so Shoporama's tracking respects the customer's choice in the cookie banner.

Consent Mode requires a cookie banner

With Consent Mode, the tracking in the browser waits for the customer's consent. If there is no cookie banner in the store, customers cannot give consent, and then no tracking is sent from the browser. Google Analytics, Google Ads, and Meta receive no visits, product views, or add-to-cart events, and Meta cannot, for example, match customer behavior to the products in your catalog, so retargeting and dynamic product ads do not work (read more in Product IDs and catalog matching). The purchase is still sent from the server if you use server-side tracking, but everything the customer does before the purchase is missing.

So install the Cookie Consent app before you check Use Consent Mode. If you have saved with the checkbox checked without the app installed, the Webshop > Tracking page shows a yellow warning right below the checkbox.

The Webshop > Tracking page with Use Consent Mode turned on and a yellow warning saying that the Cookie Consent app is not installed and that no tracking is sent from the browser without another cookie banner
The yellow warning means that the Cookie Consent app is not installed. If you do not have another cookie banner, install the app using the Apps link in the warning.

If you use a cookie banner other than Shoporama's, such as Cookiebot, it must support Google Consent Mode v2, or the customer's consent will not reach the tracking. The warning can only see Shoporama's own app, so it is also shown when you use another banner. If you are unsure whether your banner works together with the tracking, write to support@shoporama.dk.

What happens when the customer rejects

With the app and Consent Mode turned on, the following happens when the customer clicks Reject all:

  • The Meta and LinkedIn pixels do not fire in the browser, and no marketing cookies are set.
  • Google only receives anonymous signals without cookies and can model some of the missing conversions in Google Analytics and Google Ads.
  • The purchase is still sent from the server if you use server-side tracking. When the order is paid, Shoporama's server sends the purchase with the customer's contact details so the platforms can match it.
  • Ad clicks are saved on the order. If the customer came from a Google or Microsoft ad, the purchase can be included through offline conversions.

The last two happen outside the browser and do not depend on the customer's choice in the banner. So describe them in your privacy policy. Read more about the other settings in Tracking in your Shoporama store.

Customization

Most of the banner can be customized in the app's settings:

  • The texts in the banner: heading, text, subtext, the three button texts, and the title and description for analytics and marketing. Other fixed texts, such as the "Learn more about our cookies" link and the "Save settings" button, are edited under Design > Texts
  • The content of the cookie policy, which the customer sees under the "Learn more about our cookies" link
  • Colors of the Accept all and Reject all buttons, so the banner matches your store's design
  • Custom CSS for full control over the appearance
  • Display type: overlay or discreet bar at the bottom

Frequently asked questions

Does the cookie app cost anything?

No. The app is free and included in all Shoporama stores. You install it under Integrations > Apps, and there is no ongoing subscription like with external tools.

Do I need to change anything in my theme?

No. The app is inserted automatically on all pages and works with all themes. If you have added tracking scripts yourself, the app holds back their cookies, but the scripts still send data. If they should wait for consent, they must respect Google Consent Mode.

How do I document the customer's consent?

The consent is saved with a timestamp in the customer's own browser. Shoporama does not keep a log of individual customers' choices, so you cannot look up a specific customer's consent. What you can document is how your store collects consent: the banner, the categories, and your cookie policy. Read more in GDPR and cookie rules for your online store.

Do I lose conversion data when customers reject cookies?

With Consent Mode turned on, the Meta and LinkedIn pixels and the advertising platforms' cookies only run after consent, so those visits are not measured by the pixels in the browser. With Consent Mode v2, Google still receives anonymous signals and can model conversions. The purchase itself can still be included through server-side tracking and offline conversions, see the section What happens when the customer rejects above.

I have turned on Consent Mode, but no data comes into Google Analytics and Meta. What is wrong?

Check that there is a cookie banner in the store. With Consent Mode, the tracking waits for the customer's consent, and without a banner, no one can give it. Install the Cookie Consent app under Integrations > Apps. If the app is missing, the Webshop > Tracking page shows a yellow warning below the checkbox. It can take up to four hours before the banner appears on all pages, and data only comes in once customers start accepting cookies.

I use Cookiebot. Why does the Tracking page show a warning?

The warning only checks whether the Cookie Consent app is installed and cannot see Cookiebot. You should not install the app on top, because then customers get two banners. Test it yourself instead: accept cookies in your banner, and check under Realtime in Google Analytics whether your visit shows up. If it does, you can ignore the warning. If you are unsure, write to support@shoporama.dk.

How does the customer change their choice later?

Through the small cookie icon in the bottom left corner of the page, which appears after the customer has made a choice. If the customer withdraws consent, the app automatically deletes the relevant cookies from the browser.

Can I customize the banner to match my store's design?

Yes. You can change the texts, choose colors for the buttons, add custom CSS, and choose between an overlay or a discreet bar at the bottom of the screen.

Related articles

GDPR and cookie consent rules for your online store

An overview of the GDPR and cookie rules for online stores: consent before tracking, documentation, and a cookie policy, and how Shoporama meets...

Which cookies does Shoporama set?

A complete overview of the cookies a Shoporama store sets, with name, purpose, and duration. Use the list as the basis for your cookie policy.

HTML fields: add Cookiebot, GTM, and other scripts to your store

How to use HTML fields in Shoporama to add Cookiebot, Google Tag Manager, Facebook Pixel, chat widgets, and other custom HTML or JavaScript to your...

Data processing agreement (DPA)

How to sign the data processing agreement with Shoporama in accordance with the GDPR.

Server-side tracking in Shoporama: GA4, Meta, and Google Ads

A complete guide to server-side tracking in Shoporama. Better data quality, fewer conversions lost to ad blockers, and product IDs that match your...

Offline conversions for Google Ads and Microsoft Ads

Send your Shoporama orders to Google Ads and Microsoft Ads as offline conversions. Get full attribution of sales to ad clicks through a secure CSV...

Set up ecommerce tracking in your Shoporama store

Enable Shoporama's built-in tracking and send accurate tracking data to Facebook, Google Ads, GA4, TikTok, and more. Server-side, GDPR-ready, and...

Product IDs and catalog matching: match your ads to your product feed

Learn which product ID Shoporama's tracking sends, why it always matches the Google Shopping feed, what catalog matching means for your Meta and...