Chatflow tracking embed code (VAR) for Canvas Instructure LMS

Rongen
Contributor

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

 

<!-- Start of HubSpot Embed Code -->
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/2057xxxx.js"></script>
<!-- End of HubSpot Embed Code -->

 

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.

0 Upvotes
1 Accepted solution
Rongen
Solution
Contributor

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

View solution in original post

5 Replies 5
Rongen
Solution
Contributor

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

Ryan_Sessel
Member | Diamond Partner
Member | Diamond Partner

How did you resolve this?

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

Thanks @dennisedson 

 

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

0 Upvotes
Rongen
Contributor

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. 

0 Upvotes
dennisedson
Community Manager
Community Manager

Eek. 

@Kevin-C , any thoughts here?


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

0 Upvotes