JavaScript Installation

JavaScript Installation

Info
This guide explains how to check and install the JavaScript required to embed tripla Bot and tripla Book on your website.
Alert
If you are using Booking Suite or WIX, the setup method is different, so please follow the appropriate instructions.
※ For properties contracted with tripla Bot, do not use Google Tag Manager (GTM). Please embed the script directly within the tag.


1.How to Check the JavaScript


Book
Bot
Property Management Screen → Admin Settings → tripla Setup

Property Management Screen → Admin Settings → tripla Setup




2.How to Install


Basic Installation

Paste the copied code just before the closing </head> tag of your website.
If you add data-triplabot-draggable="true" as shown in the example below, you will be able to move the chatbot icon around the screen.
  1. <head>

    <!-- ... -->

    <script async src="https://tripla.jp/sdk/javascript/tripla.min.js" data-triplabot-code="xxxxxxxxxxxxxxxxxxxxx" data-triplabot-draggable="true"></script>
    </head>

After placing the code, reload your homepage — if the chatbot appears, the installation is complete.


Installation on Booking Suite


Go to the Suite Admin Panel → Content → Pages, and click Edit Homepage.




Scroll to the bottom and insert the code using the Insert Code section.
Save and preview to confirm it works.



If everything looks good, click Publish to complete the process.


Installation on WIX


If your website is built with WIX, please refer to the following link:
Make sure to insert the code snippet into the header section.
https://bit.ly/2 (please update with the actual link if available)

    • Related Articles

    • Search Bar and Availability Search Screen Settings

      ※This setting is intended for your website administrator. This section is for installing the accommodation plan search screen (Booking Widget) and search bar on your website. In addition to the search bar provided by tripla, it is also possible to ...
    • Integration of "tripla Book" with Google Hotel Ads

      tripla Book can be integrated with Google Hotel Ads, a hotel search web advertising service provided by Google. When travelers search for hotels on Google's search engine or Google Maps, it is possible to display the hotel’s own information (such as ...
    • Call the booking widget from an existing search panel

      This setting should be configured by the website administrator. If you are not using tripla's default search panel and have your own custom design or an existing search panel, you can launch the booking widget using a JavaScript function. ...
    • Booking Widget URL Parameters When Using a Subdomain

      URL parameters refer to variables (strings) added to the end of a URL. By placing links with specific URL parameters on your website, you can launch various views of the reservation widget. If you're using a custom subdomain for your reservation ...
    • tripla Bot Terms of Use

      tripla Bot Terms of Use Last updated: 2025/4/15