Documentation

Everything you need to know for quick Consentio implementation

Shoptet Integration

Install Consentio on your Shoptet e-shop

Installation via HTML Codes

The easiest way to install Consentio on Shoptet. Follow these steps:

  1. Log in to the Shoptet administration
  2. Go to Appearance and Content → Editor → HTML Code
  3. Select the Header (before the closing HEAD tag) section
  4. Insert the following code
  5. Save your changes
HTML
<script src="https://consentio.cz/widget/YOUR_KEY/consentio.min.js" async></script>
Tip: You can find the widget key in the Consentio dashboard for your website under Installation.

Deactivating the Built-in Shoptet Cookie Banner

After installing Consentio, we recommend deactivating the built-in Shoptet cookie banner so that two banners are not displayed simultaneously.

  1. Go to Appearance and Content → Cookies
  2. Deactivate the built-in cookie banner
  3. Save your changes
Warning: Running two cookie banners at the same time can confuse visitors and cause consent issues. We recommend disabling the built-in banner.

Blocking Scripts on Shoptet

On Shoptet you can block third-party scripts using the type="text/plain" attribute with the data-category data attribute. Here are examples for common Czech services:

HTML
<!-- Blocking Heureka tracking code -->
<script type="text/plain" data-category="marketing">
  // Your Heureka tracking code
</script>

<!-- Blocking Facebook Pixel -->
<script type="text/plain" data-category="marketing">
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', 'YOUR_PIXEL_ID');
  fbq('track', 'PageView');
</script>

<!-- Blocking Google Ads remarketing -->
<script type="text/plain" data-category="marketing">
  // Your Google Ads remarketing code
</script>

Multilingual Support

Consentio automatically detects the language from the lang attribute on the <html> element. Shoptet sets this attribute according to the e-shop's language settings.

Tip: If you have a multilingual Shoptet e-shop, the cookie banner will automatically appear in the correct language without any additional configuration.

Compatible Services

Service Category Blocking Method
Google Analytics 4 analytics Google Consent Mode (automatic)
Facebook Pixel marketing type="text/plain"
Heureka marketing type="text/plain"
Zboží.cz marketing type="text/plain"
Seznam Sklik marketing type="text/plain"
Hotjar analytics type="text/plain"

HTML Code Limit

Shoptet has an 8,192-character limit for HTML codes in the header. The Consentio script is well under this limit (approximately 100 characters), so you have plenty of space for other scripts as well.

Tip: If you nevertheless reach the limit due to other scripts, you can upload files via FTP to /user/documents/ and reference them.
ShopifyCustom Website