xhtml tracking and chat code

Highlighted
New Contributor

helo,

 

we used chatra on our website before we started to test hubspot. We converted chatra code with this tool for our website and it worked. 

http://www.cruto.com/resources/code-generators/code-converters/html-to-xhtml.asp

 

now I try to convert hubspot tracking code and chat widget but dont work. 

 

any idea to solve this?

 

thank you

 

https://pastebin.com/CkvWJhyP

Reply
0 Upvotes
3 Replies
Regular Advisor

Hi @Etami 

 

Can you please share your website URL so I can take a look at the code?

 

Usually the chat code is implmented as part of the HubSpot tracking code.

 

Cheers

Mike

Reply
0 Upvotes
New Contributor

it looks like this:

 

<script src="//js.hs-analytics.net/analytics/1548683100000/5396772.js" type="text/javascript" id="hs-analytics" data-oe-model="ir.ui.view" data-oe-id="724" data-oe-field="arch" data-oe-xpath="/t[1]/t[1]/div[1]/script[1]"></script> <script type="text/javascript" id="hs-script-loader" async="" defer="" src="//js.hs-scripts.com/5396772.js" data-oe-model="ir.ui.view" data-oe-id="724" data-oe-field="arch" data-oe-xpath="/t[1]/t[1]/div[1]/script[2]"></script>

 

and I dont know why.

 

http://bit.ly/2Th8NxT

 

ps: hubspot form works, but chat and tracking code dont. 

Reply
0 Upvotes
New Contributor

Helo Mike,

 

you can see the source here:

 

http://bit.ly/2Th8NxT

 

thank you for your help

Reply
0 Upvotes