Copy the below code and replace the relevant placeholders to add your event checkout as a pop-out modal on your website, rather than embedding the widget onto your page
For use with custom domains in Ticket Tailor
If you're using a custom domain in your box office and want to retain your domain throughout checkout for tracking purposes, use the code below.
Note: You may have to scroll left in the code box to see the complete code.
<script src="https://cdn.tickettailor.com/js/TTWidget.js"></script> <a href="javascript://" onclick="TTWidget.loadEvent('YOURBOXOFFICENAME',EVENTID, 'widget', 'tickets.mycustomdomain.com');"> <img src="https://app.tickettailor.com/images/btns/bt_wh.gif" alt="Buy tickets" /> </a>
Replace the following:
'YOURBOXOFFICENAME' with the name of your box office (you can see this in the top right corner of your Ticket Tailor dashboard. Don't include spaces).
'EVENTID' with your numeric event ID.
'tickets.mycustomdomain.com' with your custom domain.
'<img src=âhttps://app.tickettailor.com/images/btns/bt_wh.gifâ alt=âBuy ticketsâ />' with whatever link you'd like to show on your website. This could be an image or text link.
For use without a custom domain in Ticket Tailor
If you're not using a custom domain in your box office, use the code below.
Note: You may have to scroll left in the code box to see the complete code.
<script src="https://cdn.tickettailor.com/js/TTWidget.js"></script> <a href="javascript://" onclick="TTWidget.loadEvent('YOURBOXOFFICENAME',EVENTID,'widget');"> <img src="https://app.tickettailor.com/images/btns/bt_wh.gif" alt="Buy tickets" /> </a>
Replace the following:
'YOURBOXOFFICENAME' with the name of your box office (you can see this in the top right corner of your Ticket Tailor dashboard. Don't include spaces).
'EVENTID' with your numeric event ID.
'<img src=âhttps://app.tickettailor.com/images/btns/bt_wh.gifâ alt=âBuy ticketsâ />' with whatever link you'd like to show on your website. This could be an image or text link.