What are the pros and cons of different embed methods?

  • Profile Image
    Asked on April 21, 2017 at 03:53 PM

    It appears there are three common methods to access my forms to create a new submission;

    1. Embed Code in one of my web site pages

    2. Embed Code in an iFrame on a page on my website

    3. Create a link directly to my JotForm URL (same as entering the URL manually in browser)

    Can you provide more detail on the advantages and disadvantages for each?

    Assuming that all three options were available to me, would you recommend one over the others?

    Thanks in advance. (P.S. - your support responses are exceptional)

  • Profile Image
    Answered on April 21, 2017 at 04:04 PM

    Each method of accessing the form will produce the same end result as far as capturing the data.  Functionally though, one embed method may suit your need better than another.

    Using the default javascript embed code is the most simple.  It is a single line of code you copy then paste in with your web pages' code.  Each time your page is loaded, the form will be loaded.  This can cause form view counts to climb quite quickly when forms are added to high traffic pages.

    Using the iFrame embed code will load the form in a frame.  This insulates the form from the rest of the page.  If there are lots of scripts and styling in the page, they can conflict with the form.  This method will prevent them from doing so, but will prevent the form from interacting with the rest of the page.  Same things with form views here.

    Adding a link to the form will allow user to load the form only when they need to.  It will load the form in its own tab or window depending on how the link is constructed.  This is recommended if your web page received a large amount of traffic and you want to cut down on form views.  It is also the most stable way of using forms since there are minimal outside influences on the form.  This can cause a dip in conversion rates since users have the extra step of clicking the link rather than the form loading in the page they are already in.

    It really comes down to necessity and preference. 

  • Profile Image
    Answered on April 22, 2017 at 11:29 AM

    Thanks for the thorough response, once again.