A customer recently asked what the difference is between embedding web content as an iframe versus a widget, and which option would benefit them more when placing their form on their website. The difference between the iframe and widget embed options is that the widget can take on CSS properties of the page it is embedded on, and the iframe will not. As far as which is better, that comes down to personal preference and the style of the website, but what truly is there to consider? Here is a quick and simple comparison of the two for those who want to get a deeper look at the differences.
- Can be easier to implement than Widget option.
- Are simpler because the code is static HTML.
- Blend into a page naturally. For example, the “frameborder=”0”” property in the iframe code ensures that the form doesn’t have any borders, making it seem like a piece of the site itself.
- Redirect a form/survey within the webpage it is placed.
- Take on CSS properties of the page it is embedded on, allowing for further customization and integration with the website.
- Redirect the embedded form/survey to a new page outside of the web page it is placed on. This new page can be specified in the “post redirect” field under “confirmation text” in the designer.
These are the main perks you’ll compare when deciding on which method to use for embedding either. You may also find some downsides to choosing one over the other, but ClickDimensions allows you to easily resolve such issues. For example, if you come across a display issue when using the iframe, you may find your form resized due to the web responsiveness. However, you’ll find that you can remedy this by changing the web responsive field to “No” on the web content record. If you have further questions on which type you should use, contact us today.