Your events can live on your own website, not just on Eventrise. Visitors pick their tickets and pay in a window on your page, so they never leave your site. Your Eventrise event page stays live too, so you keep the traffic from both.
Where do I find the code for my event?
Open your event and select Embed Event at the top of the page, next to View Event. (On a phone, it's in the ⋯ menu.) You can also go to Marketing › Embed in your event's menu. Choose the tab that matches how your site is built and copy the code. Your event is already filled in.
Button. Design a ticket button (its text, colors, and shape) and copy it. It opens checkout in a window and works on almost any site.
iFrame. Checkout built right into the page and sized to fit, or a plain iframe for sites that don't allow scripts.
WordPress. A link to our plugin, plus shortcodes for a button or for checkout on the page.
Elementor. Your event slug for our plugin's Eventrise widgets, or a checkout link for a Button widget.
Framer. A link to our Framer plugin, plus the organization and event slugs it asks for.
Squarespace, Wix, and Webflow. Where to paste the code on each, step by step.
API. Your event's ID, the API reference, and a link to create an API key, if you're building something custom.
On the Button tab, you can also choose what happens when a buyer clicks: apply a promo code, or pick a ticket and how many. Those choices carry over to the iFrame code and the WordPress button shortcode too. See How do I preselect a promo code or tickets in embedded checkout?
What's the easiest way to add a Buy Tickets button?
Add our script once, anywhere on the page, then link a button to your checkout. Any link to your checkout then opens in a window on your page.
<script src="https://checkout.eventrise.com/embed.js" async></script>
<a href="https://checkout.eventrise.com/checkout/your-event-slug" data-eventrise-checkout>Buy tickets</a>
Swap in your event's slug, or copy the code from Embed Event with it already filled in. Keep the button a real link. If something on the page blocks the script, the link still takes buyers straight to checkout.
What's my checkout address?
Every event has one, and all the embed options point to it.
https://checkout.eventrise.com/checkout/your-event-slug
Your slug is the last part of your event page's address, after eventrise.com/your-organization/. You can also find it in Manage › Event Details, under the event title.
How do I put checkout right on the page?
Add the script, then a container where you want checkout to appear. The frame grows and shrinks with checkout, so buyers never scroll inside a box.
<script src="https://checkout.eventrise.com/embed.js" async></script>
<div data-eventrise-checkout-inline="your-event-slug" data-eventrise-autoheight></div>
Prefer a fixed size? Swap data-eventrise-autoheight for data-eventrise-height="900".
Can I embed checkout without the script?
Yes. If your site builder won't let you add scripts, paste a plain iframe. It's on the iFrame tab in Embed Event with your event filled in. Guest checkout, card and wallet payments, and seat maps all still work.
<iframe
src="https://checkout.eventrise.com/checkout/your-event-slug"
title="Eventrise Checkout"
width="100%"
height="900"
allow="payment"
style="border:0;"
loading="lazy">
</iframe>
Keep allow="payment" so card and wallet payments work inside the frame. The one thing you give up is campaign tracking, because your page's UTM tags won't reach checkout on their own. The sample page has a version that passes them along, plus a pop-up version that needs no script from us.
How do I add it to WordPress or Elementor?
Install the Eventrise plugin from the WordPress plugin directory, then add a Get Tickets block or shortcode. With Elementor, the plugin adds Eventrise widgets to the panel. See How do I sell tickets from my WordPress or Elementor site?
How do I add it to Framer?
Add the free Eventrise App plugin from the Framer Marketplace. Connect it with your organization's slug, once per project. Then insert a Get Tickets button or sync your events into the CMS, and publish. The Framer tab in Embed Event shows both slugs to copy.
How do I add it to Squarespace, Wix, or Webflow?
Each has its own tab in Embed Event with the code ready to copy.
Squarespace. Paste the script into Code Injection › Footer so it loads on every page. Then set a Button block's link to your checkout address. To put checkout in the page instead, paste the inline code into a Code block. Squarespace runs scripts on its Core, Plus, and Advanced plans. On other plans the button still works, but checkout opens as its own page.
Webflow. In Site settings › Custom code, paste the script into Footer code. Then set a Button's link to your checkout address. To put checkout in the page instead, paste the inline code into a Code Embed, then publish. Webflow runs custom code on paid site plans. Without one, the button still works, but checkout opens as its own page.
Wix. Add a Button, set it to open a web address, and paste your checkout address. Buyers check out on a page of its own.
Will my ad and campaign tracking still work?
Yes. With the script or the WordPress plugin, checkout picks up the UTM tags and ad clicks from your page, and it can report purchases to Google Tag Manager. See How do I track sales from embedded checkout?
Can I see it working first?
Yes. Open checkout.eventrise.com/sample to try every option on a live page and copy the code.
What if the button doesn't open checkout?
The script isn't on that page. Add it to the page, or to your whole site so every page has it.
Your site has a Content Security Policy. Most sites don't. If yours does, ask whoever manages it to allow https://checkout.eventrise.com for scripts and frames.
Checkout opens as its own page instead. That's the backup doing its job. The script didn't load, so the link took buyers straight to checkout.
Content-Security-Policy:
script-src 'self' https://checkout.eventrise.com;
frame-src 'self' https://checkout.eventrise.com;
Still stuck? Email support@eventrise.com with the address of your page and we'll take a look.
