---
title: How to develop a custom hotel Booking Engine URL
keywords: "URL, link, booking engine link, room id, promo id, click to book, booking engine url,"
url: https://guestcentric-help.guestcentric.net/en/how-to-develop-a-custom-hotel-booking-engine-url
language: en
is_homepage: false
hotel: GuestCentric Support Page
city: Alges
country: Portugal
phone: "+351 21 036-0906"
email: support@guestcentric.com
---

# GuestCentric Support Page

 menutoggle

[Attend Guestcentric Webinar](mailto:support@guestcentric.com?subject=Attend Guestcentric Webinar)

# How to develop a custom hotel Booking Engine URL

 
| HOME > SETUP AREA > How to develop a custom hotel Booking Engine URL? |
| --- |
 
We have improved the ability to filter information in the hotel booking engine by creating a custom URL. The complete list of supported parameters below.

 
**If you are a developer and need to created a fully customised booking widget for your client/hotel website, please use the parameters bellow to build a custom URL to the GuetCentric's booking gadget.**

  
## Mandatory Parameters

 
- Booking engine secured URL
`https://secure.guestcentric.net/api/bg/book.php`

 
- API key - You can get it by navigating to Setup > External Booking Engine > and Selecting the domain language prefered

On the Layout area, click on Preview and select the numbers ( API key ) after the = sign and before the & character

 
API key: &apikey=someApiKey

    
## Default Parameters

 
User can configure the default values for the booking engine [here](how-can-i-configure-the-values-for-the-booking-engine).

 
- **Check-in**: today's date
- **Check-out**: after tomorrow's date
- **Number of nights**: 2
- **Amount** (number of rooms): 1
- **Number of Adults** per room: 1
- **Number of Children** per room: 0

 
## Optional Parameters

 
### Reservation data

 
- Check-in - the selection time frame start day, should be in the yyyy-mm-dd format
`&startDay=2018-06-28`
- Number of nights – the number of nights
`&nrNights=4`
- Amount (number of rooms)
`&amount=1`
- Number of Adults per room
`&nrAdults=2`
- Number of Children per room
`&nrChildren=1`

 
### Booking engine display

 
- Language
`langCode = [br /> bg (Bulgarian)
 ca (Catalan)
 da (Danish)
 fi (Finnish)
 fr (French)
 de (German)
 el (Greek)
 it (Italian)
 lv (Latvian)
 zh-CN (Mandarin Chinese)
 pl (Polish)
 br (Portuguese BR)
 pt (Portuguese PT)
 ro (Romanian)
 ru (Russian)
 sk (Slovak)
 es (Spanish)
 sv (Swedish)
 tr (Turkish)]`

`&l=[langCode]`
- Preselected room/promo
`&preselect=[offerID]`
- Promo code:
`&pc=[promocode]`
- Preselecting promo code
`&preselectpc=[promocode]`
- Filter offers
`& flterOffers=[rooms, promotions, all]`
- Products (vouchers) - to open products on Booking Engine.
`&products=true`

 
### How to get the Room/ Promo ID?

 
Clients who have the Social Media product with GuestCentric - Marketing tab - will be able to get the Room or Promo ID, using the "Click to Book" tool - [here](https://help.guestcentric.com/how-can-i-share-my-offers-through-other-channelshtml). The URL created will give you this details, when testing it.

 
Otherwise, on your booking engine, you will be able to get the Room or Promo ID using the Inspect element of your browser.

 
With the right mouse button, click on Inspect, select the offer on the booking engine, and the system will tell the Room or Promo ID:

   
### Workflow

 
- Thank-you page, is the URL of the page to be shown after the confirmation screen
`&thankyouUrl=http://someurl.com`
- Cancel page URL, is the URL to be shown when not completing a booking
`&url=http://someurl.com`
- Not opening mobile booking engine
`&noredirect=true`

 
### Reporting

 
- Channel Key that is used for reporting when bookings are completed
`&channelKey=[someChannelKey]`
- Referrer
`&r=[someReferrer]`

 
### Example of use

 
- URL
`https://secure.guestcentric.net/api/bg/book.php?apikey=f5b9adf0aa28b7b8b2b62ebe9fc0b20b&l=en&startDay=2012-07-20&nrAdults=1&nrNights=3`
- Create your link [here](http://help.guestcentric.com/custombookingengineparameters.html)

---

 
## How can I run the report per referrer?

 
***STEP 1:***To activate the report per referrer first you need to include the following string to your booking engine

 
**URL - &r=text**

 
On the text area you should enter the information you want to display on the report.

  
**EXAMPLE of URL to get referrer from Tripadvisor reservations:**

 
https://secure.guestcentric.net/api/bg/book.php?apikey=3ab972d62b2bed2f252edf28da6fc056&s=default&l=en**&r=TripAdvisor**

  
***STEP 2:***To see the report per referrer, please go to DASHBOARD. Under the Revenue Reports area, select the option PER REFERRER.

 
You can see the information on an annual or monthly basis.

  
**ATTENTION:**The string cannot have any empty spaces.

- [Self Service Portal](http://support.guestcentric.com)
- [Accounting - Billing Information](https://www.guestcentric.com/payment-methods)
- [Contact Us](https://www.guestcentric.com/contact-us)
- [Log-In](https://login-emea01.guestcentric.net)

[Guestcentric](//www.guestcentric.com/) 
- [About us](//www.guestcentric.com/about-us/)
- [Blog](//www.guestcentric.com/blog/)
- [Billing Information](//www.guestcentric.com/billing-information/)
- [Terms of use](//www.guestcentric.com/terms-of-use/)
- [Newsletter Sign Up](//www.guestcentric.com/contact-us/newsletter-signup/)

**UNITED STATES**
**San Diego**
 7752 Fay Ave, Suite L
 La Jolla, San Diego, CA 92037
 T. +1 (858) 900 2400

**New York**
 104 West 40th Street, Suite 400
 New York, NY 10018
 T. +1 (858) 900 2400

**PORTUGAL**
**Lisbon**
 Avenida Jose Gomes Ferreira 9
 Miraflores 1495-139 Lisboa
 T. (+351) 21 036 0906

---

## GuestCentric Support Page

**Address:** Avenida Jose Gomes Ferreira 9 Miraflores, Alges, 1495-139, Portugal

**Phone:** +351 21 036-0906

**Email:** [support@guestcentric.com](mailto:support@guestcentric.com)
