Installation
Get your booking engine running in under 10 minutes. Just add 2 files to your website and configure your hotel ID.⚡ What you need: Your Hotel Linkage property ID | Time required: ~5 minutes
Quick Start
- Hotel Setup
- Chain Setup
Installation Steps
1
Add CSS to Header
Copy and paste the stylesheet link into your
<head>
section2
Configure Your Property
Add your hotel configuration in the
<body>
Replace
XXXXXXX
with your actual Hotel Linkage property ID3
Add JavaScript
Place the script at the end of your
<body>
tag4
Test Your Installation
Save your changes and refresh your page. Check browser console (F12) for any error messages.
If you see errors, contact support@hotellinkage.com
Configuration Options
Required Configuration
data-mirai-id
Type:
Your unique hotel or chain identifier
string
(required)Your unique hotel or chain identifier
If you don’t have your mirai-id, contact support@hotellinkage.com
Optional Configuration
data-type
Type:
string
Default: "hotel"
Set to "chain"
for multi-property setupsdata-hotel
Type:
string
Specific hotel ID when using chain modedata-currency
Type:
string
Default: Hotel’s defaultISO 4217 code: EUR
, USD
, GBP
, etc.data-locale
Type:
string
Default: Browser languageFormat: language-COUNTRY
(e.g., en-US
, es-ES
)Language Priority
Language selection follows this priority order:
- URL parameter:
?lang=en
- HTML tag:
<html lang="en">
- Configuration:
data-locale="en-US"
- Browser default
Common Issues
Components not showing up
Components not showing up
Solution: Check that your
data-mirai-id
is correct and that you’ve added the specific component HTML to your page. Refer to the Components section for the required markup.Console errors about missing property ID
Console errors about missing property ID
Solution: Ensure your configuration div is placed BEFORE the JavaScript file:
Styles not loading
Styles not loading
Solution: The preload technique requires JavaScript. For no-JS fallback:
What’s Next?
Add Search Bar
Add the booking search widget to your homepage
Create Booking Pages
Set up the 5 required booking flow pages
Customize Design
Match your hotel’s brand with CSS variables
Test Booking Flow
Walk through a complete test reservation
💡 Pro tip: Use your browser’s Network tab (F12) to verify both files are loading with status 200
💬 Need help? Contact support at support@hotellinkage.com