Skip to main content

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?

Hmmm,


Well you could try using custom HTML box. It looks like that script is for a website that a dev has a lot more control over, not so much a landing page platform.


I suggest you just add a regular ol’ Unbounce button with the same URL that script wants to use

https://www.eventbrite.com/e/seocon-2020-bring-your-seo-to-the-next-level-tickets-76187076597


Seems like it’s going to accomplish the same goal, right?


Reply