Add Smartsupp live chat integration to head template

- Included Smartsupp JavaScript snippet in the head.tpl file.
- Configured Smartsupp settings such as key, color, and offsets for chat widget.
This commit is contained in:
2025-10-31 15:36:19 +01:00
parent addfc0a95d
commit 6ed7882f09
4 changed files with 3945 additions and 3907 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -88,4 +88,24 @@
{$HOOK_HEADER nofilter}
{/block}
{block name='hook_extra'}{/block}
{block name='hook_extra'}{/block}
{literal}
<script type="text/javascript">
var _smartsupp = _smartsupp || {};
_smartsupp.key = '0d334d3fee8a20124724fb0e40e42cb00d98a537';
_smartsupp.color = '#e78c32';
_smartsupp.offsetX = 100; // move along the X axis by 100 pixels
_smartsupp.offsetY = 38;
window.smartsupp || (function(d) {
var s, c, o = smartsupp = function() { o._.push(arguments) };
o._ = [];
s = d.getElementsByTagName('script')[0];
c = d.createElement('script');
c.type = 'text/javascript';
c.charset = 'utf-8';
c.async = true;
c.src = 'https://www.smartsuppchat.com/loader.js?';
s.parentNode.insertBefore(c, s);
})(document);
</script>
{/literal}