We’re trying to include a hubspot form script in the popup, but unfortunately its conflicting with something in the plugin and causing everything else on the page to stop working.
This is the script being used:
<script src=”//js.hsforms.net/forms/v2.js” type=”text/javascript” charset=”utf-8″></script>
<script>// <![CDATA[
hbspt.forms.create({ portalId: ‘xxxxxx’, formId: ‘xxxxxx’,submitButtonClass: ‘hub-submit-button’ });
// ]]></script>
When we remove this it works flawlessly, but when this script runs in the HTML block it causes everything to crash.
I also don’t believe it did this before the PRO Popup plugin was installed.
We currently have Free and Pro plugin installed per the installation instructions.
Thoughts?