Getting Your Embed Code
1
Open your form
Open your form in the dashboard
2
Go to Share
Go to the Share tab
3
Copy embed code
Select your embed type and copy the code
Embed Types
Standard Embed (iframe)
Recommended — Pure HTML, no third-party script. Renders even when ad blockers, corporate firewalls, or strict CSPs would block scripts.
Best for
- Inline forms on landing/demo pages
- Maximum reliability across browsers
- Static sites, Webflow, WordPress
Trade-offs
- Fixed height (no auto-resize)
- No popup / slider / sidetab modes
JavaScript Embed
Loads the form via our embed script. Required for popup, slider, and sidetab modes; adds auto-resize, event callbacks, and pre-fill support. Use this when you need those features; otherwise the iframe embed above is more reliable.Features
- Auto-resizing
- Popup / slider / sidetab 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
Recommended — Uses the native browser
<dialog> element with inline JavaScript. No third-party script, so it can’t be blocked by ad blockers or strict CSPs.<dialog> element handles the backdrop, escape-to-close, focus trap, and ARIA roles automatically.
Script-based popup (legacy)
If you need auto-resize, event callbacks, or slider/sidetab/popover modes, use the script embed instead:team value is the first 8 characters of your team UUID, visible in the Share tab.
For detailed setup instructions for Webflow, WordPress, Squarespace, and more — see the Embed Script documentation.
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
Next Steps
Embed Script Reference
Full API reference, popup setup, and platform guides
Submissions
View and manage responses