What Is a Hotel Widget for a Website?
A hotel widget is a small, embeddable component that gives your website visitors the ability to search and book hotels without navigating away from your page. It typically appears as a search form — enter a destination, hit search — and then either displays results inline or redirects the user to a booking page with your affiliate attribution preserved.
Website hotel widgets exist at the intersection of travel content and commerce. For any site whose audience travels — travel blogs, destination guides, lifestyle sites, corporate pages, event websites, and more — a hotel widget is the most direct way to monetise that travel intent.
Why Every Travel Website Needs a Hotel Widget
If you publish travel content without a booking mechanic, you are doing the work of an OTA’s marketing department for free. Your content creates the booking desire; the reader then goes to Booking.com, which captures all the revenue. A hotel widget for your website changes this equation: you capture the booking action on your own page, earn the commission, and retain the reader relationship.
The economics are compelling. The average hotel booking in Europe is approximately €220 per night. At a 5% commission rate, each confirmed stay earns €11. With even modest traffic, a hotel widget can generate meaningful passive income. A site generating 200 bookings per month earns approximately €2,200 per month from a widget that took 60 seconds to install.
Which Hotel Widget Should You Add to Your Website?
The IMPT Swarm hotel widget is the best option for most websites in 2026 based on five criteria: commission rate (5%, highest available), cookie length (90 days, longest available), inventory (8M+ hotels, 195 countries), setup time (60 seconds, no approval delay), and sustainability (1 tonne CO₂ offset per booking — unique in the market).
The widget is also MIT open-source, meaning the code is publicly auditable, customisable, and free to use without restriction. For publishers who value technical transparency, this is a significant advantage over the closed-source widgets offered by Booking.com and Expedia.
Step-by-Step: How to Add the IMPT Hotel Widget to Your Website
1. Register at swarm.impt.io/widget
Click ‘Get a partner key,’ fill in your payout details, and receive your unique key instantly. The entire process takes under 60 seconds. No manual review. No approval delay.
2. Copy your embed code
Your partner key generates a personalised two-line embed snippet. Copy it from the dashboard.
3. Paste on your website
Paste the snippet in the HTML of any page where you want the hotel search to appear. On WordPress, use the Custom HTML Gutenberg block or install the IMPT WordPress plugin. On Wix, use the HTML Embed element. On Squarespace, use the Code Block. On Shopify, add it via a custom section or the theme’s HTML editor.
4. Verify and go live
Reload the page to confirm the widget renders. Test a destination search to confirm the redirect to the IMPT booking page includes your partner key in the UTM parameters. You are live and earning.
Hotel Widget Placement: Where to Get the Highest Conversion Rate
The best placement for a hotel widget depends on your content type. For destination guides, embed it immediately after your ‘Where to Stay’ section — this is where booking intent peaks. For itinerary posts, place it at the bottom of each day’s entry or in a persistent sidebar widget. For homepage or landing pages, a prominently placed hotel search form in the hero section or just below the fold tends to attract the highest-intent visitors. For email newsletters, use the IMPT email signature widget (swarm.impt.io/email) to add a hotel search link to every email you send.
Hotel Widget and Core Web Vitals
Website owners often worry that third-party widgets will slow their pages. The IMPT hotel widget is designed to have zero performance impact. At 8.7 KB gzipped, it is smaller than a typical webpage image. The async attribute on the script tag means it loads without blocking the rest of your page content. This keeps your Largest Contentful Paint (LCP) and First Input Delay (FID) metrics unaffected — critical for maintaining Google search rankings in 2026.
Frequently Asked Questions
Is the IMPT hotel widget really free?
Yes. There are no setup fees, monthly fees, or transaction fees charged to you. IMPT earns from the platform margin on each booking; your 5% commission is additional to that margin.
Does the hotel widget work on mobile?
Yes. The IMPT widget is fully responsive and renders correctly on all devices and screen sizes.
How much can I earn with a hotel widget on my website?
Earnings depend on your traffic and the travel intent of your audience. At 5% commission per stay, 100 monthly bookings at an average value of €250 generates €1,250 per month. The 90-day cookie ensures you capture late bookings that shorter-window programmes would miss.
Can I use the hotel widget without any coding knowledge?
Yes. If you can copy and paste text, you can install the IMPT hotel widget. The embed is two lines of HTML that you paste into your website’s editor.
What countries and currencies does the hotel widget support?
The IMPT widget covers 195 countries and displays prices in the user’s local currency. Over 8 million hotels are available globally.
Add a Hotel Widget to Your Website — Free
Get your partner key at swarm.impt.io/widget. Paste two lines of code. Start earning 5% on every hotel booking your audience makes. And make every stay climate-positive — with 1 tonne of CO₂ offset per booking, paid by IMPT.
Keep Reading / Similar Blogs
- Travel Blog Monetisation: 7 Ways to Earn — Including Without Spending a Penny
- Shopify Hotel Widget: Add Hotel Booking to Your Shopify Store in 60 Seconds
- Wix Travel Widget: Add Hotel Booking to Your Wix Site Without Coding
- Squarespace Booking Embed: Add Hotel Search to Your Squarespace Site
- Hotel Booking API Free: Build a Travel Product Without a Budget in 2026
- Hotel iFrame Embed Code: The Simplest Way to Add Booking to Any Page
- Travel Widget JavaScript: One Script Tag, 36 Channels, 5% Commission
- Hotel Search API: Compare Options and Start Building for Free in 2026
- White Label Travel API: Build a Branded Booking Product in 2026
- NGO Carbon Offset Widget: Add Climate Credibility to Your Charity Website
- Corporate Sustainability Widget: Show ESG Progress on Your Company Website
- Carbon Offset Widget for Your Website: Add Climate Action in 60 Seconds
- Climate Widget for Website: Show Visitors You Mean It on Sustainability
- Carbon Neutral Booking Widget: What It Is, How It Works, and Why It Matters
- Eco-Friendly Travel Widget: Make Every Hotel Booking Climate-Positive in 2026
- Sustainability Widget for Website: The Most Impactful Green Upgrade in 2026
- How to Embed a Carbon Calculator on Your Website (No Code Required)
- Best WordPress Hotel Booking Plugin for Affiliate Revenue in 2026
- WordPress Travel Widget: Add Live Hotel Search to Any WordPress Site
- Hotel Referral Widget: Turn Your Audience Into a Hotel Booking Revenue Stream
- How to Earn Commission on Hotel Bookings Without a Travel Agency
- Hotel Booking Widget: Add Live Hotel Search to Any Website in 60 Seconds
- How to Embed Hotel Booking on Any Website (Step-by-Step 2026)
- Best Travel Booking Widget for Your Website in 2026 (Full Comparison)
- White Label Hotel Widget: Launch a Branded Booking Tool Without Building Anything
- Embeddable Hotel Search: Turn Any Page Into a Booking Engine
- Best Travel Affiliate Widget: Earn Commission on Every Hotel Stay in 2026
- Hotel Affiliate Program Compared: Which Pays the Most in 2026?
- Best Hotel Affiliate Programs in 2026: Ranked by Commission and Cookie