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.Trigger from your own buttons
If you want to use your own buttons (e.g. in Webflow, WordPress, or any custom site), use the JavaScript API with a CSS class:orbit-popup-trigger to every button that should open the popup. You can have unlimited buttons across the page — they’ll all open the same form.
The 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