TRAVLR
Widget SDK
Price Comparison Widget·v1.1
Embeddable · White-label ready · Exit intent · Affiliate revenue built-in

Hotel Price Comparison Widget

Drop into any white-label partner site. Toggle OTAs, currency, exit intent, and more. Every click-through earns affiliate revenue via Travelpayouts marker 287005.

Partner Configuration

— changes update the preview live

Content

Hotel

OTAs shown

Display

Show free cancellation badge
Show per-night price
Exit Intent PopupOFF

Shows price comparison when a user moves to leave the page. Fires once per session.

Live preview

See how we compare

Secure the best rate with honest comparisons.

Coco Bodu Hithi · 24 Sept – 29 Sept · 5 nights

Prices shown are indicative and sourced from third-party sites. Click through for current pricing.

Using mock data · Affiliate marker: 287005

Exit Intent PopupOFF

Enable in the config panel to retain users before they leave.

Generated Embed Code

<!-- TRAVLR Price Comparison Widget -->
<script
  src="https://widget-api.travlr.com/embed.js"
  data-hotel-id="3173879"
  data-hotel-name="Coco Bodu Hithi"
  data-check-in="2026-09-24"
  data-check-out="2026-09-29"
  data-adults="2"
  data-currency="AUD"
  data-marker="287005"
  data-otas="Booking.com,Expedia.com,Trip.com,Hotels.com"
  data-title="See how we compare"
  data-exit-intent="false"
></script>

Backend: Deploy the Cloudflare Worker to widget-api.travlr.com first. Worker code + wrangler.toml are in the download package.

White-label Partner Demo

Mastercard Travel
HotelsFlightsCarsLoyalty
Maldives overwater villa

Coco Bodu Hithi

North Malé Atoll, Maldives · ★★★★★

Overwater VillaAll-InclusiveFree Cancellation

See how we compare

Secure the best rate with honest comparisons.

Coco Bodu Hithi · 24 Sept – 29 Sept · 5 nights

Prices shown are indicative and sourced from third-party sites. Click through for current pricing.

Widget is fully unbranded. Partner applies their own styles.

Architecture

01
Data Layer
Travelpayouts Hotellook API — cached OTA rates for 3M+ hotels. 5-min edge cache on Cloudflare.
02
Cloudflare Worker
Fetches rates, injects affiliate links with marker 287005, handles CORS. Deploy to widget-api.travlr.com.
03
Inline Widget
React component on hotel page. Configurable via URL params or data attributes.
04
Exit Intent
Detects mouse leaving viewport. Shows price comparison popup. Fires once per session. Toggle per partner.

Revenue estimate per partner site

Monthly impressions
10,000
Click-through rate
~5%
Conversion rate
~5%
Revenue @ 6% commission
~AUD $750/mo