The store will not work correctly in the case when cookies are disabled.
<script>
window.zESettings = {
webWidget: {
color: {
theme: '#ec008c',
launcher: '#ec008c',
launcherText: '#ffffff',
button: '#ec008c'
},
offset: {
horizontal: '100px',
vertical: '10px'
}
}
};
</script>
<!-- Start of deinetorte Zendesk Widget script -->
<script type="text/javascript">
require(
[
'jquery'
],
function($) {
console.log('wvrTracking Zopim possible');
jQuery(document).on('wvr.allow-marketing-tracking', function() {
console.log('wvrTracking Zopim allowed');
var script = document.createElement('script');
script.type = 'text/javascript';
script.id = 'ze-snippet';
script.async = true;
script.src = 'https://static.zdassets.com/ekr/snippet.js?key=b89cf583-8c50-4a27-81d5-52e9150a16de';
document.getElementsByTagName('head')[0].appendChild(script);
script.onload = function () {
let started = false;
console.log('wvrTracking Zopim loaded');
zE('webWidget:on', 'open', function() {
if(!started){
zE('webWidget', 'chat:send', "Chat beginnt");
started = true;
}
});
};
document.head.appendChild(script);
});
}
);
</script>
<!-- End of deinetorte Zendesk Widget script -->
<style>
.src-component-launcher-WidgetLauncher-icon{ padding-right: 0 !important; }
.src-component-launcher-WidgetLauncher-label{ display: none !important; }
</style>