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.
Audience
Section titled “Audience”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.
The Book Now link and the link-in-bio
Section titled “The Book Now link and the link-in-bio”Every property has one short link code. The same code serves two destinations, chosen by the r parameter:
| Link | Opens |
|---|---|
https://trvl.as/abc12?r=ibe | Your booking engine. This is the Book Now link. |
https://trvl.as/abc12 | Your WinkLinks page. This is the Link-in-bio, meant for social profiles. |
ris read case-insensitively. Any value other thanibeopens the link-in-bio instead of failing.ronly 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.
via Link
Section titled “via Link”- Go to https://app.wink.travel and sign in.
- Select the property you want to work with from the top-left dropdown.
- Click
Channels > Book now buttonin the main nav bar. - Under
Share your links, copy theBook Now link. Copy theLink-in-bioinstead if you want the WinkLinks page. - 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.
Customization and branding
Section titled “Customization and branding”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.
Advanced
Section titled “Advanced”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.
Parameters on the Book Now link
Section titled “Parameters on the Book Now link”Every parameter is optional.
| Parameter | Meaning | Example |
|---|---|---|
sd | Start date (check-in), YYYY-MM-DD | sd=2027-03-14 |
ed | End date (check-out), YYYY-MM-DD | ed=2027-03-15 |
n | Number of nights | n=2 |
rc | Guests and rooms, see Guests and rooms | rc=a2 |
l | Display language | l=es |
c | Display currency, three letters | c=EUR |
p | One promotion code | p=ABC123 |
cid | Campaign identifier, see Tracking | cid=spring-email |
Example:
https://trvl.as/abc12?r=ibe&sd=2027-03-14&n=1&rc=a2&l=es&c=EURDefaults and precedence
Section titled “Defaults and precedence”For each value, the first source that has it wins:
- The parameter on the link.
- 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).
- The built-in default: today, one night, two adults in one room, language
en, currencyUSD.
Dates follow these rules:
edwins overnwhen 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.
Guests and rooms
Section titled “Guests and rooms”rc describes one room occupancy:
a2is two adults.a2-ca16q1-ca8q1is two adults plus one 16-year-old and one 8-year-old child. Each child token isca, 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.
Link directly to the booking engine
Section titled “Link directly to the booking engine”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
landcto use the others. - When both
nandedare present,nwins. - The order of precedence is the parameter on the link, then a return visitor’s session (kept for 15 minutes), then the customization.
cmust be three letters and is upper-cased. Anything else is ignored.ptakes the code with apprefix, and several codes are joined with+:p=pABC123, orp=pABC123%2BpXYZ789. A code without the prefix is ignored.cidhere 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=EURTracking
Section titled “Tracking”| Parameter | Where | Effect |
|---|---|---|
cid | Book Now link | Campaign 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. |
_gl | Book Now link | Google Analytics 4 cross-site linker value, forwarded to the booking engine. |
src, lid | Booking engine | Set for you. The Book Now link tags the visit src=BOOK_NOW_LINK. Do not add them yourself. |
Example
Section titled “Example”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>Other benefits
Section titled “Other benefits”- Social-friendly The link can be shared on social media and its preview shows
dynamic pricingon 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-bioinstead.
via Embed
Section titled “via Embed”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.
