Hey,
i want to include a javascript of Eventbrite. This should be triggered by the click of a button and would open a modal box. This is the code which should be implemented in the hype page. how can I archive this? I know I can trigger custom javascript on click on a button. And I guess I have to implement the script type part within the custom javascript by copy and pasting it there. But how can I implement the first part with the button id to the hype button? Thank you
<!-- Noscript content for added SEO -->
< noscript><a href="[https://vypefrankfurt.eventbrite.de](https://vypefrankfurt.eventbrite.de/)" rel="noopener noreferrer" target="_blank"></noscript>
<!-- You can customize this button any way you like -->
< button id="eventbrite-widget-modal-trigger-111111111111111" type="button">Buy Tickets</button>
< noscript></a>Buy Tickets on Eventbrite</noscript>
< script src="[https://www.eventbrite.de/static/widgets/eb_widgets.js"></script](https://www.eventbrite.de/static/widgets/eb_widgets.js%22%3e%3c/script)>
< script type="text/javascript">
var exampleCallback = function() {
console.log('Order complete!');
};
window.EBWidgets.createWidget({
widgetType: 'checkout',
eventId: '111111111111111',
modal: true,
modalTriggerElementId: 'eventbrite-widget-modal-trigger-111111111111111',
onOrderComplete: exampleCallback
});
</script>