# Embed ticket sales on your website

> Let buyers purchase tickets without leaving your own site

Source: https://help.ticketcommittee.com/selling-tickets/embed-ticket-sales/  
Collection: Selling Tickets

Instead of sending buyers to your Ticket Committee event page, you can put the whole ticket checkout right on your own website. Buyers pick tickets, pay, and get their confirmation without leaving your site.

Embedding is available on higher-tier plans. If you see **Upgrade Required**, click **View plans** to see your options.

## Before you start

The embed option only appears after your event is **published**. You can't turn it on while any of these are true:

- The event is a draft or unpublished
- Ticket sales have closed or the event has ended
- The event has no tickets
- You've reached your plan's attendee limit

If the event is scheduled to open later, you can still turn the embed on. Visitors see a "Coming Soon" page until sales open.

Any of these problems are listed at the top of the embed section, so you know what to fix.

## Turn on the embed

1. Open your event and go to **Settings → Publishing**.
2. Scroll to **Embed Ticket Sales**.
3. Turn on **Enable embed**.

![The Embed Ticket Sales section with the preview URL and iframe code](https://help.ticketcommittee.com/images/selling-tickets/embed-ticket-sales.png)

Once it's on, you'll see:

- **Preview URL**: click **Open** to see the embedded checkout on its own.
- **Iframe embed code**: the snippet to paste into your website.

## Add it to your website

1. Click **Copy** next to the **Iframe embed code**.
2. In your website editor, add an HTML or "embed code" block where you want the tickets to appear.
3. Paste the code and publish your page.

The code looks like this:

```html
<iframe src="https://ticketcommittee.com/embed/..." width="100%" height="700" frameborder="0" allowpaymentrequest allow="payment"></iframe>
```

Most website builders (Squarespace, Wix, WordPress, and others) have an embed or custom HTML block that accepts this kind of code. If you're not sure where it goes, send the snippet to whoever manages your website.

:::tip
The embed is 700 pixels tall by default. If your checkout looks cut off, change `height="700"` to a larger number, like `900`.
:::

## Turn it off

Go back to **Settings → Publishing** and turn off **Enable embed**. The embedded checkout on your website stops working, but your regular event page keeps selling.

## Related

- [Share your event page](https://help.ticketcommittee.com/selling-tickets/share-your-event-page/)
- [Publish your event](https://help.ticketcommittee.com/event-setup/publish-your-event/)
