How do you embed a Hubspot form in the resource center?

I'd like to embed the support form directly into the resource center. I've tried the sandbox module but it's not working - and I am not a coder. Any ideas?

0

コメント

3件のコメント
  • can you describe what isn't working? There may be a couple of things at play, like using an embed code from HubSpot, making sure your product's content security policy allows it, etc. :)

    0
  • HI. 

    This is my code from HS:

    <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
    <script>
      hbspt.forms.create({
        portalId: "47970774",
        formId: "fc3a2eed-0e83-4c0e-8ae6-2679e7d4dfed",
        region: "na1"
      });
    </script>

     

    I put it in the sandbox module on the HTML tab, not sure if that's correct. When I click the module in the resource center, the little > on the right side of the Resource Center disappears, and nothing else happens. 

    0
  • oh interesting! You might need to wrap the code in an iframe for it to display, and also check your console for errors.

    0

サインインしてコメントを残してください。

お探しのものを見つけられませんでしたか?

新規投稿