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 at the very top of the field, above any Google tag you keep there
  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.

Services Switched On in the Shoptet Admin

Consentio works with the code you paste into HTML codes. It does not control the services you switch on directly in the Shoptet administration.

Warning: Consentio holds back known tracking scripts and the scripts that you paste into HTML codes and mark. If Consentio should manage a service, add its code to HTML codes with the marking shown below instead of switching it on in Shoptet.

Blocking Scripts on Shoptet

Scripts that you paste into HTML codes can be held back with the type="text/plain" attribute and the data-category data attribute, the same way as on any other website:

HTML
<!-- Your own marketing script -->
<script type="text/plain" data-category="marketing">
  // The code you would otherwise paste unmarked
</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

The banner reads the lang attribute on the <html> element. Shoptet sets this attribute according to the e-shop's language settings.

Tip: Enable every language of your e-shop in Banner Design → Texts (Pro and Agency). The banner shows only the languages you have enabled; Free and Solo show one language.

Compatible Services

Service Category Blocking Method
Google Analytics 4 analytics Google Consent Mode signals (tag in HTML codes below the Consentio code) or type="text/plain"
Facebook Pixel marketing type="text/plain"
Seznam Sklik retargeting marketing Retargeting ID in Banner Design → Behaviour, or 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 code takes approximately 500 characters of it, so there is room left for other scripts.

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