Skip Main Navigation

Using Embedded Checkout to sell tickets on your website

Sell tickets right from your website or blog with our website integration. Attendees complete the purchase without leaving your website. If you can’t checkout after adding the code, review the troubleshooting steps below. Go to your event dashboard and select “Website integrations” to get started.

<h2 id="1">Using Embedded Checkout</h2> <h3 id="1-1">1. Go to &quot;Website Integrations&quot;.</h3> <ol><li>Go to “Manage events” in your account. Then select your event.</li><li>Go to “Website Integrations” (under “Marketing”).</li><li>Click “Generate code”. </li></ol> <h3 id="1-2">2. Click “Show Me”. </h3> <h3 id="1-3">3. Choose how checkout appears. </h3> <p>You can choose between two options:</p> <ul><li>Button: opens a window on top of your website to reveal available tickets. </li><li>Embedded: available tickets are automatically shown on the page.  </li></ul> <h3 id="1-4">4. Preview the checkout experience</h3> <ol><li>Click “Preview”. </li><li>Click “Buy Now”. </li></ol> Your ticket types need to be on sale for the preview to work. If you complete the checkout process, Eventbrite will treat it as a real registration. <h3 id="1-5">5. Copy the embed code and paste it into your website.</h3> <p>You must have an HTTPS certificate for attendees to complete their registration on your website. </p> <ol><li>Click on “Embed Code.” </li><li>Select the code that appears and copy it into your clipboard. </li><li>Paste it into your website.</li></ol> <p>View and test the embedded checkout on your website to confirm it’s working. If you need help with this step, we recommend contacting your web developer. Eventbrite can&#39;t assist with pasting the code on your website. </p> <h2 id="2">If Eventbrite&#39;s embedded checkout doesn&#39;t work</h2> <h3 id="2-1">1. “Website Integrations” is greyed out on the Event Dashboard.</h3> Some features are unavailable while your event is a draft. You have to publish your event before you can access Website Integrations. <h3 id="2-2">2. The checkout redirects to your Eventbrite event listing.</h3> <p>If your event no longer qualifies for embedded checkout, attendees are sent to your Eventbrite event listing to complete registration. Your event may no longer qualify because:</p> <ul><li>You’ve enabled an unsupported feature.</li><li>You don’t have an HTTPS certificate on your website. <a href="https://www.eventbrite.com/support/articleredirect?anum=41024" target="_blank">Learn more about setting up HTTPS for your website</a>.</li></ul> <h3 id="2-3">3. Wordpress added HTML formatting code to the Eventbrite embed code.</h3> <p>Gutenberg editor is enabled by default in new versions of Wordpress and is not compatible with the Raw HTML plugin. If you notice an issue with how embedded checkout functions or experience rendering issues, try disabling Gutenberg editor.</p> <ol><li>Go back to the &quot;Text&quot; editor for your page in Wordpress.</li><li>Check for any added <a href="https://www.w3schools.com/tags/default.asp" target="_blank">HTML formatting code</a> (e.g., code for paragraphs and line breaks)</li><li>Install the <a href="https://wordpress.org/plugins/disable-gutenberg/" target="_blank">&quot;Disable Gutenberg editor&quot; plugin</a>.</li><li>Go to Settings and choose General. Then, make sure “WordPress should correct invalidly nested XHTML automatically” is not selected/enabled.</li></ol> <h3 id="2-4">4. You can’t scroll in embedded checkout.</h3> <p>If you’re trying to add multiple embeds on the same page, your attendees won’t be able to scroll unless you change the embed code. </p> <p><b>FIRST BUTTON EMBED</b></p> <p>1. Give the &amp;lt;button id&amp;gt; parameter a unique value for each embed. For example, for the first embed on your website, change:</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">&amp;lt;button id=&quot;eventbrite-widget-modal-trigger-43896296003&quot; type=&quot;button&quot;&amp;gt;Buy Tickets&amp;lt;/button&amp;gt;</p> <p>to</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">&amp;lt;button id=&quot;number1-43896296003&quot; type=&quot;button&quot;&amp;gt;Buy Tickets&amp;lt;/button&amp;gt;</p> <p>2. Then, within the same code snippet, change the modalTriggerElementId to match:</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">modalTriggerElementId: &#39;eventbrite-widget-modal-trigger-43896296003&#39;</p> <p>to</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">modalTriggerElementId: &#39;number1-43896296003&#39;</p> <p><b>SECOND BUTTON EMBED</b></p> <p>1. Make sure the second &quot;button id&quot; has a different, distinct value. The value needs to match the modalTriggerElementId. For example, change:</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">&amp;lt;button id=&quot;eventbrite-widget-modal-trigger-43896296003&quot; type=&quot;button&quot;&amp;gt;Buy Tickets&amp;lt;/button&amp;gt;</p> <p>to</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">&amp;lt;button id=&quot;number2-43896296003&quot; type=&quot;button&quot;&amp;gt;Buy Tickets&amp;lt;/button&amp;gt;</p> <p>2. Then change:</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">modalTriggerElementId: &#39;eventbrite-widget-modal-trigger-43896296003&#39;</p> <p>to</p> <p class="text-small l-pad-vert-2 l-pad-hor-2 card l-mar-top-2">modalTriggerElementId: &#39;number2-43896296003&#39;</p>

Still have questions? Contact us.