How to implement the search widget

Overview

The search widget gives your audiences the opportunity to begin their search on any of the Expedia Group website (including Expedia.com, Hotels.com, Vrbo.com and other local brand sites such as Wotif.com.au, Stayz.com.au, Abritel.fr, Fewo-direkt.de etc.) from your own website. Your visitors can enter their travel destination and dates, and the widget will take them directly onto the shopping path. 

To add the search widget to your website you can follow these simple steps:

    • Select the destination website
    • Select the lines of business (optional)
    • Add a Pubref to the code (optional)
    • Copy the search widget code
    • Place the search widget code on your website


Step 1) Select the destination website

This dropdown allows you to select the Expedia Group brand website that you want to redirect your audiences to. There are 34 different websites you can choose from.

Destination_Website.png

Step 2) Select lines of business (optional)

Some brands such Expedia.com allows you include multiple line of businesses in your Search Widget. Flights allows your audiences to search for Air booking options where as Stays gives your audiences the option to search different accommodation options from hotels to vacation rentals and villas. If you select both Stays and Flights, your audience will have the option to toggle between the two. 

eg-affiliates-search-widget-us-expedia-form-lobs-stays-flights-highlight.png

 

Step 3) Add a Pubref (optional)

A Pubref (publisher reference) is an optional reference that you can include in your search widget code for your own reporting purposes on the Partnerize platform. The Pubref tracks from click through to booking and is only available on Partnerize platform. 

If you'd like to add a Pubref, enter the details in the Pubref field (example show below). If you don’t want to add a Pubref you can leave this empty.

 

eg-affiliates-search-widget-us-expedia-form-pubref-highlight.png

 

Step 4) Copy the search widget code

Select the copy to clipboard option.

Step 5) Place the search widget code on your website

Paste the search widget code into your website.

Breakpoints

The search widget is optimized for widths between 375px to 575px. The widget will resize to cater for a responsive page.

Sizes beyond these are not supported as optimized.

Minimum example – 375px

eg-affiliate-products-search-widget-us-expedia-flights-stays-min.png

 

 

Maximum example – 575px
If the spacing on your website where you’re placing the widget is larger than 575px the widget will maintain the 575px size and automatically center within that space.

eg-affiliate-products-search-widget-us-expedia-flights-stays-max.png

 

Articles in this section

Sign in
Start building your links and earning commission
Provide feedback
We are always looking for ways to improve your experience. Please tell us what you think.