Getting Your Embed Code
Embed Types
Standard Embed (iframe)
The simplest way to embed your form. Just paste the iframe code where you want the form to appear.Best for
- Simple integrations
- Static websites
- Quick setup
Considerations
- Fixed height required
- Limited responsiveness
- No auto-resize
JavaScript Embed
Recommended — The JavaScript embed automatically resizes to fit your form content and provides the best user experience.
Features
- Auto-resizing
- Popup support
- Event callbacks
- Pre-fill support
Data Attributes
data-orbit-form: form slugdata-orbit-team: team IDdata-orbit-embed: popup | sliderdata-orbit-height: custom height
Popup / Modal
Open your form in a modal overlay, triggered by a button click or other event.Pre-filling Fields
You can pre-fill form fields using URL parameters:Form Events
Listen to form events using CustomEvents to trigger custom actions:Responsive Behavior
Forms automatically adapt to fit their container. Here’s what to know about field layouts:Half-Width Fields
Fields set to “1/2” width will display side-by-side when the embed container is 510px or wider. Below this width, all fields stack vertically for better mobile usability.- ≥ 510px: Half-width fields appear side-by-side
- < 510px: All fields stack vertically
Platform-Specific Guides
- WordPress
- Webflow
- Squarespace
- Shopify
- React / Next.js