You can use the code below to embed a link to the ticket selection page of a specific occurrence of your event, rather than linking to all dates and times.
<script src="https://cdn.tickettailor.com/js/TTWidget.js"></script> <a href="javascript: //" onclick="TTWidget.loadEventOccurrence('YOURBOXOFFICENAME',111111,'widget');">BUY TICKETS!</a>If you use a custom domain, copy this version instead:
<script src="https://cdn.tickettailor.com/js/TTWidget.js"></script> <a href="javascript: //" onclick="TTWidget.loadEventOccurrence('YOURBOXOFFICENAME',111111,'widget','tickets.mycustomdomain.com');">BUY TICKETS!</a>How to edit the code to link to a specific occurrence
Using the relevant code above, replace
YOURBOXOFFICENAMEwith the name of your box office (you can see this in the top-right corner of your Ticket Tailor dashboard – don't include spaces).Replace
111111with the occurrence ID you wish to direct ticket buyers to. To find your occurrence ID:Navigate to your event summary page by heading to Events and selecting the relevant event.
Select the occurrence you want from the dropdown.
Your URL will now end with
.../event/ev_111111– the occurrence ID is the number afterev_.
Make sure you've selected the occurrence first. Before you do, the URL shows
es_followed by a different number – that's the ID for the whole event, and using it will take buyers to the wrong page.If you're using a custom domain, replace
tickets.mycustomdomain.comwith your custom domain. This is the domain you've set up in Ticket Tailor for your ticket pages, not your main website address.Replace
BUY TICKETS!with your call to action, or the wording you'd like on your ticket link.Keep the
<script>line – the link won't work without it.
Your new link will open a ticket selection page for the selected occurrence in a pop-out window.
