Chatflow tracking embed code (VAR) for Canvas Instructure LMS

Hi, can anyone help me customise our Hubspot tracking code to change to VAR?
Our LMS doesn’t accept script type.



Example of what we’re using now via Zoho SalesIQ. We are now migrating to Hubspot.

var $zoho=$zoho || {};$zoho.salesiq = $zoho.salesiq || {widgetcode: "xxxxxxxxxxxxxxxxxxxx", values:{},ready:function(){}};var d=document;var s=d.createElement("script");s.type="text/javascript";s.id="zsiqscript";s.defer=true;s.src="https://salesiq.zoho.com/widget";var t=d.getElementsByTagName("script")[0];t.parentNode.insertBefore(s,t);

I really appreciate your help in advance. Thank you.

Eek.

@Kevin-C , any thoughts here?

Thanks @dennisedson

Hey @Rongen
I’m not 100% sure I understand the request

Hi @Kevin-C - we need to embed our chatflow (chat bot) to our Canvas LMS. Their system doesn’t accept the script code. They only allow using variable to insert in their javascript file.

We managed to solve this by customising the code. It works now.

How did you resolve this?