Hey all,
I am attempting to add a script to the ticket confirmation screen. But it doesn't show on the confirmation page, and also the activity log, is showing a Syntax error. Can anyone advise what I have done wrong?
This is the script:
Smarty Error: Syntax error in template "MY-DIRECTORY-LINK-HERE" on line 31 "<script>(function(d, s, id) {var fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s);js.id = id;js.async=true;js.src = "https://hostadvice.com/embed/widgets.js";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "ha-embed"));</script>" unknown tag 'var'