Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonathan 2 posts 72 karma points
    6 days ago
    Jonathan
    0

    Hubspot form, not embeding in Umbraco

    Hi Guys

    I am trying to embed a Hubspot form into a Umbraco site, but when i insert the code body, the form does not show. I think i need a macro to solve it, but not sure how to set it up.

    Anyone had the same problem?

  • Yakov Lebski 261 posts 1003 karma points
    4 days ago
    Yakov Lebski
    0

    Hubspot form it just script that run in browser over html, this no issue with Umbraco. How you emmed it? Do you have javascript errors?

  • Jonathan 2 posts 72 karma points
    4 days ago
    Jonathan
    0

    Hi Yakov - i out the Hubspot code into the source code of the blog post i want it to appear on, but then nothing happens, it does not show

  • Yakov Lebski 261 posts 1003 karma points
    4 days ago
    Yakov Lebski
    0

    It should be like this

    part one

    <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
    

    part 2

    <div class="form">
        <script>hbspt.forms.create({
                                        portalId: 'YOUOD',
                                        formId: 'FORMID',
                                        css: '',
                                        target: '.form,
                                        cssClass: 'formContainer ',
                                        submitButtonClass: 'btn btn-primary',
    
                                        }
                                    });</script>
    </div>
    

    what is in you scenario?

Please Sign in or register to post replies

Write your reply to:

Draft