Skip to main content

Adding The Widget to A Hubspot Site

Updated today

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

First you will want to whitelist your domains:

Now that you’ve added your sites to the whitelist, it’s time to embed the widget.

To add the OTS ticketing widget to Hubspot website page you will first need a create a new module in the Hubspot Design Manager.

In your HubSpot account, navigate to Content > Design Manager.

At the top of the finder, click the File dropdown menu and select New file.

In the dialog box, click the What would you like to build today? dropdown menu, select Module, and click Next.

Select Pages for where you would like to use this module and select the Global Module option. Name your module something description and memorable like ā€œOTS Ticket Widgetā€ and then select Create.

Copy and paste both the Code Snippet and Code Reference from the On The Stage Widget Configuration screen into the module.html section of your new module.

Close the module editor and now it’s time to embed the widget in your website page.

In the Page editor, select Add to Page to display a list of available modules. Tip: you can search for the name of the module you just created to more quickly find it.

Grab the OTS Widget module and drag it to the section of the page where you would like to see it.

Update and publish your page. That’s it! You’re done! šŸŽ‰


šŸš€ Best Practices

  • Preview before publishing—check mobile and desktop layouts for proper widget display.

  • Use min-height CSS controls (like .ots-widget-min-height { min-height: 40vh; }) to prevent unsightly white space when few performances are listed.

  • Match your brand styling—wrap the embed in containers styled for spacing and fonts consistent with your site theme.

Did this answer your question?