Hotel Widget for Website: The Easiest Way to Add Travel Bookings in 2026

Date Modified: May 22, 2026

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

Share

IMPT Girl Pointing

Ready to travel sustainably? 🌍✈️

Book your eco-friendly hotel with IMPT Travel today and join the movement towards a greener future!

IMPT APP - Section

Download Our App

Join the movement towards a greener future—discover sustainable stays, earn carbon offset rewards, and make every trip count.

🌿 Available on iOS and Android

Comments are closed.

IMPT TRAVEL

Travel with purpose! IMPT Travel lets you book eco-friendly stays, offset your carbon footprint, and earn rewards—making every journey a step toward a greener world. 🌍✨

Categories