EMBED DOCS
Add TripSpark to your site.
Drop in a mini finder with exact budget filtering, human-readable dates, and transparent match reasons. The widget now reacts to month, origin, interests, and budget instead of falling back silently.
Quick start
- Create a container div where the widget should render.
- Paste the hosted script snippet below.
- Set
data-origin,data-month,data-budget, anddata-interestsfor your audience. - Publish the page and verify the iframe loads from
/embedwith the expected card count and labels.
Hosted JS snippet
Open preview sandbox<div id="tripspark-embed"></div>
<script
src="https://snippetci.com/tripspark-embed.js"
data-target="#tripspark-embed"
data-origin="new-york-nyc"
data-month="2026-08"
data-budget="1200"
data-interests="concert,festival"
data-title="Suggest a trip"
data-limit="3"
data-source="partner-site"
data-medium="widget"
data-height="640px"
></script>League mode example
For sports league sites, default the widget to a team-friendly setup: origin airport, August timing, budget-conscious pricing, and weekend-ready group interests.
<div id="tripspark-league-widget"></div>
<script
src="https://snippetci.com/tripspark-embed.js"
data-target="#tripspark-league-widget"
data-origin="austin-aus"
data-month="2026-08"
data-budget="900"
data-interests="sports,group"
data-title="Plan team travel"
data-limit="3"
data-source="sports-league-site"
data-medium="widget"
data-height="680px"
></script>Recommended defaults: origin airport + month + budget +
sports,group interests. For weekend campaigns, pair the embed with a link to /?frame=leagues.Iframe fallback
<iframe
src="https://snippetci.com/embed?origin=new-york-nyc&month=2026-08&budget=1200&interests=concert,festival&utm_source=partner-site&utm_medium=embed"
width="100%"
height="640"
style="border:0;border-radius:24px;"
loading="lazy"
title="TripSpark mini finder"
></iframe>Supported options
data-origin— starting airport/city slugdata-month— default month inYYYY-MMformatdata-budget— numeric budget hintdata-interests— comma-separated tags likeconcert,festivalorsports,groupdata-title— widget headingdata-limit— how many cards to show, from 1 to 4data-source/data-medium— tracking defaults for UTM capturedata-height— iframe height, e.g.640px