Dashboard

Embedding in Webflow

Add FavForm to your Webflow site using the Embed element or Custom Code.

Using an Embed element

1

Add an Embed element

In the Webflow Designer, press A to open Add Elements, then drag "Embed" (under Components) to your page.

2

Paste the embed code

Double-click the Embed element and paste:

HTML
<fav-form data-embedId="your-form-id"></fav-form>
<script src="https://favform.com/embed/v1.js" async></script>
3

Save and close

Click "Save & Close". The embed will show as a placeholder in the Designer but will work on the published site.

4

Set dimensions

Select the Embed element and set a minimum height (e.g., 600px) in the Style panel.

Site-wide widgets

Add a feedback widget to every page using Project Settings:

  1. Go to Project Settings → Custom Code
  2. In the "Footer Code" section, paste the widget code
  3. Save and publish
HTML
<fav-form data-embedId="your-widget-id"></fav-form>
<script src="https://favform.com/embed/v1.js" async></script>

Page-specific code

To add code to a specific page only:

  1. Select the page in the Pages panel
  2. Click the gear icon to open Page Settings
  3. Scroll to "Custom Code"
  4. Add your code to "Before </body> tag"

Responsive design

Make your embed responsive across breakpoints:

  • Set width to 100%
  • Use different heights for desktop/tablet/mobile breakpoints
  • Consider using a container with max-width for better readability
CSS
/* Example: Add to an Embed element's custom CSS */
.favform-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  min-height: 600px;
}

Using iframe

For simpler embedding or if you have issues with the script:

HTML
<iframe 
  src="https://favform.com/f/your-form-id" 
  width="100%" 
  height="700" 
  frameborder="0" 
  style="border: none;">
</iframe>

Webflow interactions

You can trigger form visibility with Webflow interactions:

  1. Wrap the Embed in a Div with display: none
  2. Create an interaction that shows the Div on button click
  3. This creates a modal-like form experience
For floating feedback buttons, use our Widget type instead — it handles the show/hide behavior automatically.

Troubleshooting

Embed shows placeholder in Designer

This is normal. Embeds only render on the published site. Click "Publish" and view the live site.

Form not appearing on published site

Check that the embed code is correct and the form is published in FavForm. Also verify your domain is allowed in the form's embed settings.

Height issues

Set a fixed min-height on the Embed element. Forms typically need 500-800px depending on content.

Script blocked

Some ad blockers may block third-party scripts. The iframe method works as a fallback.