Toggle Cookiefirst inclusion via settings
This commit is contained in:
@@ -73,9 +73,13 @@ page {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
headerData.999 = TEXT
|
||||
headerData.999.wrap = <script src="https://consent.cookiefirst.com/banner.js" data-cookiefirst-key="|"></script>
|
||||
headerData.999.value = {$plugin.tx_epevents.settings.cookieFirstKey}
|
||||
headerData.999 {
|
||||
wrap = <script src="https://consent.cookiefirst.com/banner.js" data-cookiefirst-key="|"></script>
|
||||
value = {$plugin.tx_epevents.settings.cookieFirstKey}
|
||||
if.isTrue = {$plugin.tx_epevents.settings.cookieFirstKey}
|
||||
}
|
||||
}
|
||||
|
||||
[page["doktype"] == 101]
|
||||
|
||||
@@ -134,23 +134,9 @@ page {
|
||||
}
|
||||
|
||||
headerData.999 = TEXT
|
||||
headerData.999.wrap = <script src="https://consent.cookiefirst.com/banner.js" data-cookiefirst-key="|"></script>
|
||||
headerData.999.value = {$plugin.tx_eptheme.settings.cookieFirstKey}
|
||||
|
||||
headerData.9999 = TEXT
|
||||
headerData.9999.value (
|
||||
<!--Start of Tawk.to Script-->
|
||||
<script type="text/plain" data-cookiefirst-category="functional">
|
||||
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
|
||||
(function(){
|
||||
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
|
||||
s1.async=true;
|
||||
s1.src='https://embed.tawk.to/5cf8bd64b534676f32ad987f/default';
|
||||
s1.charset='UTF-8';
|
||||
s1.setAttribute('crossorigin','*');
|
||||
s0.parentNode.insertBefore(s1,s0);
|
||||
})();
|
||||
</script>
|
||||
<!--End of Tawk.to Script-->
|
||||
)
|
||||
headerData.999 {
|
||||
wrap = <script src="https://consent.cookiefirst.com/banner.js" data-cookiefirst-key="|"></script>
|
||||
value = {$plugin.tx_eptheme.settings.cookieFirstKey}
|
||||
if.isTrue = {$plugin.tx_eptheme.settings.cookieFirstKey}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user