Skip to main content

How to Install the Widget on a Site Created on the Tilda Platform

Evgenia avatar
Written by Evgenia
Updated this week

To install the widget on a website created with the Tilda platform, you need a Tilda Personal plan or higher.

Step-by-Step Instructions:

  1. Finding the button code

For Tilda, there is a separate button code for "Buy Ticket." To find it:

  • Go to the event menu and click the "Widget" button.

  • Select the "Tilda" tab - it displays the button code and the script that ensures its operation.

2. Widget Code Installation

  • On the page where the widget button will be placed, add an empty HTML block.

  • Enter the script that enables the widget into this block:

<script>window.xtix_url='https://hub.xtix.ai';</script> <script src="https://hub.xtix.ai/static/scripts/widget/xtixwidget.js"></script>

Then, click the "Save and Close" button.

3. Setting the Widget Link to the Button

Add the block containing the button.

Click the "Content" button:

  • In the window that opens, find the "Button Link" field:

  • Paste the Tilda button code from your XTIX personal account into this field.

Important: Make sure the checkbox for opening the link in a new window is not selected. If it is checked, remove it; otherwise, the widget will not open on mobile devices.

  • Click "Save and Close."

4. Publish the page and test the widget functionality.

Need help choosing the best option for your site? Just let us know - we’re happy to help!

Did this answer your question?