Skip to main content

Widget implementation

Learn how to implement your booking on your website.

Updated over a year ago

Generally said all widget types can be implemented to any type of website or framework based on our proprietary technology we developed to make the website implementation as smooth as possible.

⚠ In case you have a WIX website, check our WIX implementation guide.


Installation

1) Navigate to your shop settings and open the widgets tab.

2) Select the widget type from the list you want to use.

3) Choose the product(s) you want to implement.

4) Open the website tab and copy the code to your website.

Every widget you want to use has two steps of implementation:

Step 1

First copy the link of our general script (only once!) just after your <body> tag .

<script type="module"src="https://cdn.rtr-io.com/widgets.js"></script>

Afterwards you need to initialize a connection to your inventory and choose the default language you want to show. → More about the default language

<script>
window.RTR_ACCESS_TOKEN = 'YOUR ACCESS TOKEN';
window.RTR_LOCALE = 'de-DE';
</script>

Step 2

Then copy the code snippet of the actual widget, such as the Order details widget, to the section of the website where you want to display it.

<rtr-order></rtr-order>
Did this answer your question?