the iframe URL can be customised to alter the listing/display, the structure is as follows:
https://www.ticketsource.{domain}/ticketshop/{promoter_id}/{target}/{eventRef}
| parameter | description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| domain | The TicketSource territory domain (.co.uk, .eu or .us) |
||||||||||
| promoter_id | The TicketSource promoter id for this ticket shop | ||||||||||
| target |
The a target attribute set for all links/buttons:
|
||||||||||
| eventRef | filter performances to only those with a matching event reference |
Note
The examples below use a placeholder for your unique account identifier {promoter_id}, you can find the correct code within your TicketSource account and modify it from there to suit your needs
<div id="embedTS_{promoter_id}" style="width:100%;"></div>
<script type="text/javascript">
(function() {
var el = document.createElement("script");
el.src = "https://www.ticketsource.co.uk/ticketshop/{promoter_id}";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(el, s);
})();
</script>Always open in a new tab:
<div id="embedTS_{promoter_id}" style="width:100%;"></div>
<script type="text/javascript">
(function() {
var el = document.createElement("script");
el.src = "https://www.ticketsource.co.uk/ticketshop/{promoter_id}/_blank";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(el, s);
})();
</script>Only show events with the sample reference:
<div id="embedTS_{promoter_id}" style="width:100%;"></div>
<script type="text/javascript">
(function() {
var el = document.createElement("script");
el.src = "https://www.ticketsource.co.uk/ticketshop/{promoter_id}/_self/sample";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(el, s);
})();
</script>Note
When specifying a later parameter such as eventRef all previous parameters must also be given (e.g. target is set to it's default of _self in the sample above)