Embedding the OTS widget in your HubSpot page lets you:
Streamline ticket bookings or event discoveryāusers can view and reserve performances directly on your site.
Enhance user experienceāvisitors stay on your brandās site while engaging with your event calendar.
Boost conversionsāin-line access typically results in higher engagement and ticket sales.
š Walkthrough
Begin by learning how to configure your widget and manage Allowed Domains here.
1. Add Your Allowed Domains
Before embedding your widget, you'll need to add the appropriate domains to your Allowed Domains list in OTS:
Add your website URL, for example:
https://my-amazing-theatre.com/Add your HubSpot Page Editor domain. This is unique to each HubSpot customer and will look similar to:
https://########.hubspotpreview-na1.com/
Replace the ######## with the numbers shown in your HubSpot editing interface.
2. Create a Module in HubSpot
Once your domains have been added, you're ready to embed your OTS Widget.
In your HubSpot account:
Navigate to Content > Design Manager.
At the top of the finder, click the File dropdown menu.
Select New file.
Under What would you like to build today?, select Module.
Click Next.
Select Pages for where you'd like to use the module.
Select the Global Module option.
Give your module a descriptive name, such as OTS Ticket Widget.
Click Create.
3. Add Your OTS Widget Code
In your OTS Admin Portal, navigate to Marketing > Widgets and copy the embed code for your widget. Paste the embed code directly into the module.html section of your new HubSpot module.
š Noteworthy: You only need the widget embed code provided in your OTS Dashboard. You no longer need to copy and paste separate Code Snippet and Code Reference sections.
4. Add the Module to Your Page
Now you're ready to place the widget on your website.
Open the appropriate page in the HubSpot Page Editor.
Select Add to Page to view your available modules.
Search for the module you created, such as OTS Ticket Widget.
Drag the module to the section of the page where you'd like your ticket widget to appear.
5. Publish Your Page
Preview your page to confirm that the OTS Widget is displaying correctly.
When you're ready, update and publish your page. Your On The Stage widget is now embedded on your HubSpot website and ready for patrons to use. š
