---
title: "Embed ticket buttons and event widgets on your website"
description: "Add a Buy Tickets button, a single event card, or a grid of all your events to your own website with copy-and-paste code."
url: https://help.seatfun.com/en/articles/25-embed-ticket-buttons-and-event-widgets-on-your-website
collection: "Marketing"
updated: 2026-11-16
language: en
---

# Embed ticket buttons and event widgets on your website

Add a Buy Tickets button, a single event card, or a grid of all your events to your own website with copy-and-paste code.

You can sell tickets from your own website by adding a SeatFun button or widget to it. There are three options, and each one gives you a short piece of code to paste into your site.

<table style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Option</p></th><th colspan="1" rowspan="1"><p>What it adds to your site</p></th><th colspan="1" rowspan="1"><p>Best for</p></th></tr><tr><td colspan="1" rowspan="1"><p><strong>Buy Tickets Button</strong></p></td><td colspan="1" rowspan="1"><p>A button that links to your ticket page.</p></td><td colspan="1" rowspan="1"><p>Any page where you mention the event.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Single Event Card</strong></p></td><td colspan="1" rowspan="1"><p>A compact card with the event's image, date, title, venue, and a Get Tickets button.</p></td><td colspan="1" rowspan="1"><p>Blog posts and sidebars.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Organizer Event Grid</strong></p></td><td colspan="1" rowspan="1"><p>A grid of all your upcoming events that updates automatically when you add new ones.</p></td><td colspan="1" rowspan="1"><p>Your homepage or events page.</p></td></tr></tbody></table>

## Open the embed tools

1.  In the left menu, select **Marketing**.
    
2.  Choose your event from the menu at the top of the page.
    
3.  Select the **Embed & Widget** tab.
    

## Add a Buy Tickets button

1.  Under **Buy Tickets Button**, choose a **Style Preset**: Solid, Outline, Pill, or Minimal.
    
2.  Edit the **Button Text**, for example `Get Tickets`.
    
3.  Set the **Background** and **Text Color** to match your website, and drag **Corner Radius** to round the corners.
    
4.  Check the result in **Live Preview**.
    
5.  Select **Copy HTML** and paste the code into your website.
    

![embed button](https://staticfiles.us.gleap.ai/helpcenter/6af22048c1836069c31a3951/20261116193829_7258.jpg)

The button is plain HTML, so it works on any website and does not need JavaScript.

> **Info:** **Tip:** Under **Tracking Link**, choose a tracking link or select **New** to create one. This lets you measure how many sales the button brings in. Create one link for each place you put a button, such as your website, your blog, or a partner site.

## Add a Single Event Card

1.  Under **Single Event Card**, check that the right event is shown in **Selected Event**.
    
2.  Choose a **Theme**: Light, Dark, or Auto.
    
3.  Check the result in **Live Preview**.
    
4.  Select **Copy Code** and paste the code into your website.
    

![embed card](https://staticfiles.us.gleap.ai/helpcenter/6af22048c1836069c31a3951/20261116193829_0723.jpg)

## Add an Organizer Event Grid

1.  Under **Organizer Event Grid**, choose how many **Columns** to show on desktop: 2, 3, or 4.
    
2.  Choose a **Theme**: Light, Dark, or Auto.
    
3.  Check the result in **Live Preview**.
    
4.  Select **Copy Code** and paste the code into your website.
    

You only need to add the grid once. New events appear in it automatically.

## Where to paste the code

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Website builder</p></th><th colspan="1" rowspan="1"><p>Steps</p></th></tr><tr><td colspan="1" rowspan="1"><p><strong>WordPress</strong></p></td><td colspan="1" rowspan="1"><p>Go to Pages, then Edit. Add a Custom HTML block and paste the code.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Squarespace</strong></p></td><td colspan="1" rowspan="1"><p>Go to your page, then Add Section. Add a Code Block and paste the code.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Wix</strong></p></td><td colspan="1" rowspan="1"><p>Go to the Editor, then Add, then Embed. Add a Custom Element and paste the code.</p></td></tr></tbody></table>

On any other website, paste the code into the page's HTML where you want the button or widget to appear.
