Hi,
I’m trying to add Button to landing page.
Here’s the code from them:
<!-- Noscript content for added SEO -->
<noscript><a href="https://www.eventbrite.com/e/seocon-2020-bring-your-seo-to-the-next-level-tickets-76187076597" rel="noopener noreferrer" target="_blank"></noscript>
<!-- You can customize this button any way you like -->
<button id="eventbrite-widget-modal-trigger-76187076597" type="button">Buy Tickets</button>
<noscript></a>Buy Tickets on Eventbrite</noscript>
<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"></script>
<script type="text/javascript">
var exampleCallback = function() {
console.log('Order complete!');
};
window.EBWidgets.createWidget({
widgetType: 'checkout',
eventId: '76187076597',
modal: true,
modalTriggerElementId: 'eventbrite-widget-modal-trigger-76187076597',
onOrderComplete: exampleCallback
});
</script>
The script will allow you to pop-up ticket registration.
Any suggestion, what should I do?