We are having challenges dropping Hubspot tracking code onto MadCap, our authoring tool for our technical docs site. I’m ommitting our actual hubspot-id in the code below using “hubspot-id”.
<script type=“text/javascript” id=“hs-script-loader” async=“async” defer=“defer” src="file://js.hs-scripts.com/hubspot-id.js>
MadCap does not accep the above code, where ‘defer’ is an unexpected token, so we modified it to the following:
<script type=“text/javascript” id=“hs-script-loader” async defer src="file://js.hs-scripts.com/hubspot-id.js>
However, when we do that Hubspot does not pick u on it, showing the status as blocked.
Has anyone had success modifying the Hubspot tracking code to work with MadCap? Thank you!