Getting the embed code
- Open the form in the builder.
- Click the Embed button (or the share icon) in the top toolbar.
- The embed panel shows your embed code and a shareable link.
- Select the layout you want and copy the code snippet.
<script> tag. Paste it into the <head> or <body> of your page according to the instructions for your platform.
Embedding on a HoopAI funnel or website
If you are using a funnel or website built inside HoopAI, you can embed a form without touching any code:- Edit the funnel or website page in the page builder.
- Add a Form element from the element library on the left.
- Select the form you want to embed from the dropdown.
- Resize and reposition the element within the layout.
Layout options
Inline
The form appears directly in the flow of the page content. This is the most visible and straightforward option — there is no delay, no animation, and no trigger required. Best for dedicated landing pages where the form is the primary purpose.Popup
The form appears as a modal overlay in the center of the screen. A dark backdrop dims the rest of the page. Popups can be triggered by:- Time delay — appears after the visitor has been on the page for a set number of seconds
- Scroll percentage — appears when the visitor scrolls past a certain point on the page
Sticky sidebar
The form is collapsed into a small tab anchored to one side of the viewport. It remains in view as the user scrolls. Clicking the tab expands the form. The sidebar can be minimized again by the visitor. This layout keeps the form accessible without obstructing the page content.Polite slide-in
The form slides in from the bottom corner of the page. It uses animation to draw attention without fully interrupting the reading experience. Like the popup, it can be triggered by time or scroll position.Deactivation settings
Each embedded form instance can be configured to stop displaying after certain conditions are met: Display limit Stops showing the form after it has been displayed to a visitor a specific number of times. For example, if set to 1, the form will not appear again to a visitor who has already seen it. Lead-triggered deactivation Automatically hides the form once the visitor submits it. After submission, the popup or slide-in will not appear again on subsequent visits. Perpetual The form always appears regardless of how many times the visitor has seen or submitted it. Use only for forms where multiple submissions from the same browser are expected.Embedding on external websites
To add a HoopAI form to a website built on a platform like WordPress, Squarespace, Wix, Shopify, or Webflow:- Copy the embed code from the form builder.
- Access the code injection or custom HTML section of your website platform.
- Paste the embed code into the header section so it loads on every page, or into a specific page if you want the form on only one location.