Shoptet Integration
Install Consentio on your Shoptet e-shop
Installation via HTML Codes
The easiest way to install Consentio on Shoptet. Follow these steps:
- Log in to the Shoptet administration
- Go to Appearance and Content → Editor → HTML Code
- Select the Header (before the closing HEAD tag) section
- Insert the following code at the very top of the field, above any Google tag you keep there
- Save your changes
<script src="https://consentio.cz/widget/YOUR_KEY/consentio.min.js" async></script>
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.
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:
<!-- 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.
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.
/user/documents/ and reference them.