Zero-bloat popups, hello bars & polls for Astro sites
TinyPopups pairs naturally with Astro marketing sites, docs, and blogs: add one async <script is:inline> tag in your BaseLayout.astro to launch sticky hello bars, exit-intent lead forms, PPP banners, clean YouTube video popups, and reader polls without shipping a React/Vue island just for modals. From $19/mo.
- Open src/layouts/BaseLayout.astro: Locate the shared layout component wrapping your Astro marketing pages, blog posts, and docs.
- Add <script is:inline async ...>: Paste your TinyPopups CDN script with the is:inline and async attributes right before </body>.
- Deploy once to Cloudflare Pages, Vercel, or Netlify: After that one deploy, you never need to rebuild your static Astro site just to swap a banner or launch a popup.
- Target blog, docs, or pricing URLs from TinyPopups: Launch sticky launch hello bars, blog exit-intent lead magnets, or pricing-page PPP coupons in seconds.
- Launch & Product Hunt hello bars: Sticky top banner across all Astro pages — toggle live or off in one click without rebuilding.
- Blog exit-intent lead capture: Offer checklists or newsletter signups when readers finish an Astro MDX article.
- Clean YouTube demo popups: Show a clean product demo modal on landing pages without sluggish default YouTube iframe loads.
- PPP regional pricing banners: Detect visitor country on your Astro /pricing page and surface regional discount codes.
Frequently asked questions
Why add is:inline to the TinyPopups script in Astro?
Astro processes <script> tags as bundled ES modules by default. Adding is:inline tells Astro to leave the async CDN script tag as-is for optimal browser caching.
Does TinyPopups work with Astro View Transitions (ClientRouter)?
Yes — keep the script in your persistent layout head/body and URL-targeted campaigns work smoothly across Astro page navigations.
Can I use our free YouTube Video Library Maker on Astro too?
Yes! You can export self-contained clean HTML from /tools/video-library-maker directly into any Astro component or MDX page for free.