Copied to clipboard

Flag this post as spam?

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


  • Jonathan 3 posts 73 karma points
    Dec 03, 2019 @ 11:58
    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 427 posts 1654 karma points
    Dec 05, 2019 @ 02:51
    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 3 posts 73 karma points
    Dec 05, 2019 @ 07:01
    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 427 posts 1654 karma points
    Dec 05, 2019 @ 14:34
    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?

  • Jonathan 3 posts 73 karma points
    Dec 09, 2019 @ 10:35
    Jonathan
    0

    I just insert this:

    <script type="text/javascript" src="https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"></script>

    Into the source code on the blog, and it does show up

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies