Back to Documentation
Advanced5 min read

Embed Options

Integrate Boostack forms into your site with ease.

We provide multiple ways to integrate forms into your site, depending on your technical needs and design preferences.

1. Smart Snippet (Recommended)

One snippet to rule them all. Place this code once in your website's <head> or parent layout file. It will automatically load the correct forms on the correct pages based on your Page Targeting rules.

<script src="https://tryboostack.com/snippet.js" data-id="YOUR_PROJECT_ID"></script>
  • Single Installation: No need to paste code for every form.
  • Smart Targeting: Use the Form Builder to control which pages show which form (e.g., "Pricing Page Only").
  • Auto-Resizing: Automatically adjusts height to fit content.
  • Triggers: Supports Exit Intent, Time Delay, Scroll, Click, Inactivity, and Copy triggers.

2. Iframe (Legacy)

Works everywhere, even on static site generators with strict Content Security Policies (CSP).

<iframe src="https://tryboostack.com/forms/frm_123" width="100%" height="600" allow="camera; microphone; autoplay; encrypted-media; fullscreen;"></iframe>
  • Pros: 100% isolation, works on every platform.
  • Cons: Height is fixed (may show scrollbars), no automatic triggers.

Was this article helpful?

Your feedback helps us improve our guides.

Updated April 2026 • © Boostack Documentation