Skip to content

The Book Now Button

The Book now button is your hotel’s own booking link. It sends a guest to your booking engine, with your branding and live availability and prices, so you can sell rooms on your own website on your own terms.

Many hotels also use the booking engine bundled with their Channel manager. Compare native booking engines before you commit to one.

This guide is for hotels that want to put Wink’s booking engine behind a button on their website, and for webmasters who build that button. If you only need to share a link, copy it from the portal and skip to via Link.

Every property has one short link code. The same code serves two destinations, chosen by the r parameter:

LinkOpens
https://trvl.as/abc12?r=ibeYour booking engine. This is the Book Now link.
https://trvl.as/abc12Your WinkLinks page. This is the Link-in-bio, meant for social profiles.
  • r is read case-insensitively. Any value other than ibe opens the link-in-bio instead of failing.
  • r only has meaning on your property’s own link. It is ignored on other links.
  • The Book Now link opens the booking engine only for an active hotel that has a primary customization. Otherwise it falls back to your link-in-bio, so a button never leads to an error page. The portal warns you when this happens.
  1. Go to https://app.wink.travel and sign in.
  2. Select the property you want to work with from the top-left dropdown.
  3. Click Channels > Book now button in the main nav bar.
  4. Under Share your links, copy the Book Now link. Copy the Link-in-bio instead if you want the WinkLinks page.
  5. Give the Book Now link to your webmaster and use it for your button.

The page also shows the analytics for each link (switch between Book Now and Link-in-bio) and a Preview of how the link looks when shared. Previews in chat apps can count as clicks.

The Book Now link uses the settings of your primary customization: affiliate attribution, color palette, initial itinerary, currency and language, and everything else you configured under Customization. The portal shows a What's included summary of it, and the primary customization cannot be deleted. The image in the shared preview also comes from the primary customization. If it has no image, the page prompts you to add one.

The link already carries an itinerary that comes from your primary customization. You can override parts of it per link by adding parameters, for example when a traveler picks dates on your website and you forward them.

Every parameter is optional.

ParameterMeaningExample
sdStart date (check-in), YYYY-MM-DDsd=2027-03-14
edEnd date (check-out), YYYY-MM-DDed=2027-03-15
nNumber of nightsn=2
rcGuests and rooms, see Guests and roomsrc=a2
lDisplay languagel=es
cDisplay currency, three lettersc=EUR
pOne promotion codep=ABC123
cidCampaign identifier, see Trackingcid=spring-email

Example:

https://trvl.as/abc12?r=ibe&sd=2027-03-14&n=1&rc=a2&l=es&c=EUR

For each value, the first source that has it wins:

  1. The parameter on the link.
  2. Your primary customization (fixed dates if they are still in the future, otherwise the advance-days and stay-days setting; default guests, language and currency).
  3. The built-in default: today, one night, two adults in one room, language en, currency USD.

Dates follow these rules:

  • ed wins over n when both are on the Book Now link. With neither, the stay is one night.
  • With no sd, the stay starts today.
  • Once the link opens the booking engine, the engine validates the dates: a start date in the past is ignored, and an end date that is not after the start date becomes start plus one night.

rc describes one room occupancy:

  • a2 is two adults.
  • a2-ca16q1-ca8q1 is two adults plus one 16-year-old and one 8-year-old child. Each child token is ca, the age, q, and how many children of that age.

To book several identical rooms, repeat the occupancy once per room, joined with +. a2-ca8q1+a2-ca8q1 is two rooms of two adults and an 8-year-old.

Limits:

  • A link carries one occupancy and a room count. If the segments differ, only the first segment’s occupancy is used and the number of segments becomes the room count. Mixed occupancies, such as one room for two adults and another for four, are not supported by a link.
  • On the Book Now link, the room count is currently not carried across the redirect to the booking engine, so the engine opens with one room. For several rooms, link directly to the booking engine (below) until this is fixed.
  • A link can’t pre-select a room type or a rate plan. Links created from a master rate can; see Links.

A hotel page link has the form https://book.wink.travel/hotel/<urlName>?cid=<customization id>. It accepts the same sd, ed, n, rc, l, c and p parameters, with these differences from the short link:

  • Each parameter is independent. You do not need l and c to use the others.
  • When both n and ed are present, n wins.
  • The order of precedence is the parameter on the link, then a return visitor’s session (kept for 15 minutes), then the customization.
  • c must be three letters and is upper-cased. Anything else is ignored.
  • p takes the code with a p prefix, and several codes are joined with +: p=pABC123, or p=pABC123%2BpXYZ789. A code without the prefix is ignored.
  • cid here is the customization id, not a campaign.
https://book.wink.travel/hotel/example-hotel?cid=abc123&sd=2027-03-14&ed=2027-03-16&rc=a2%2Ba2&l=es&c=EUR
ParameterWhereEffect
cidBook Now linkCampaign identifier. Forwarded to the booking engine as campaignId and kept through the payment return. The engine carries it; it does not record it on the booking.
_glBook Now linkGoogle Analytics 4 cross-site linker value, forwarded to the booking engine.
src, lidBooking engineSet for you. The Book Now link tags the visit src=BOOK_NOW_LINK. Do not add them yourself.

Sample Book now button HTML, as the portal gives it under Add to your website (Copy embed code):

<a href="https://trvl.as/abc12?r=ibe" target="_blank" title="Book now">Book now</a>

The same button styled with Bootstrap classes, with a stay passed along:

<a
href="https://trvl.as/abc12?r=ibe&sd=2027-03-14&n=1&rc=a2&l=es&c=EUR"
target="_blank"
class="btn btn-lg btn-primary"
title="Book a room"
>
BOOK NOW
</a>
  • Social-friendly The link can be shared on social media and its preview shows dynamic pricing on top of the image you selected.
  • Short The URL is easy to share and fits places like your Instagram bio. For the bio, use the Link-in-bio instead.

For a richer, bookable card on your website, create a link and embed it. The card shows availability and price, and its book button opens your booking engine. This is covered under Links > Embed, including where to find your client ID and customization ID.

Want more booking links with different settings, colors and inventory for different campaigns? Create them under Links.