For some reason Hubspot doesn’t like being embedded directly within an HTML widget or a rectangle, but if you include a full HTML page within the HTML widget, it will work. You’ll also need to modify the JS reference. So, it will work if you add ‘https’ in front of the JS reference, and also include the script within a full HTML page’s code:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="https://js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="https://js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({
portalId: '437232',
formId: 'ca666e2b-0c44-4ea1-91ed-5e9e8ebc5736'
});
</script>
</body>
</html>
hubspot2.zip (9.7 KB)