Adding hubspot form using javascript to wordpress
-
Hi, I have the following Javascript code, how can I add to wordpress using html editor? I just simply added but it doesn’t work.
<!--[if lte IE 8]> //js.hsforms.net/forms/v2-legacy.js <![endif]--> //js.hsforms.net/forms/v2.js <script> hbspt.forms.create({ portalId: "1111", formId: "2222" }); </script>The blog I need help with is: (visible only to logged in users)
-
Hi there!
Usually, sites hosted at WordPress.com would not be able to add Javascript to their site. However, since you have a Business plan for your site, you should be able to but I’m not sure you would add it via the HTML editor.
Could you reach out to the Support team via live chat so they can help walk you through adding that Hubspot code? They’ll need to access your site’s backend which we don’t have access to in the public support forums.
https://wordpress.com/help/contact
In the future, since you have a Business plan, you have access to priority email and live chat support. You can access this priority support from the above link, where you can get help more quickly than by posting in the free public support forums.
Hope that helps!
-
- The topic ‘Adding hubspot form using javascript to wordpress’ is closed to new replies.