Skip to main content

How to Embed Tickets on Your Website

Guide5 min read

Sending your audience to a third-party ticketing page means losing them to distractions, slow load times, and checkout flows that don't look like you. The Equaticket embed widget solves this by bringing the full checkout experience onto your own site — your brand, your URL, their tickets.

This guide walks you through every embed option and shows you how to get up and running in under ten minutes.

Why Embed Tickets Instead of Linking Out?

When buyers stay on your site:

  • Conversion rates improve. Every redirect is an opportunity to lose someone. Keeping checkout on your domain eliminates that step.
  • Your brand stays front and center. No Equaticket header, no unfamiliar navigation — just your site, with tickets.
  • Analytics stay clean. Conversions happen on your domain, so your Google Analytics or pixel tracking sees the complete funnel.

Embed Modes

Equaticket supports two embed modes. Choose based on how your site is structured.

Inline Embed

The inline embed renders ticket types, quantities, and the checkout flow directly in the flow of your page — no overlay, no button required. It's ideal when you have a dedicated event page on your site.

Replace YOUR_EVENT_ID with the event ID from your Equaticket dashboard. The widget auto-sizes to its container, so it works whether you're embedding in a single column or a full-width section.

Equaticket inline embed widget rendering ticket checkout on a website

The modal mode attaches to any button or link on your page. On desktop, clicking opens a centered overlay; on mobile, it slides up as a bottom sheet. Use this when you want a "Buy Tickets" button to trigger checkout without navigating away.

You can style the button however you like — the data-eq-mode="modal" attribute is all the widget needs to wire it up.

Equaticket modal overlay checkout open on a website

Where to Find Your Event ID

  1. Log in to your Equaticket dashboard.
  2. Open the event you want to embed.
  3. Go to Distribute → Embed.
  4. Copy the event ID shown there. It looks like evt_01abcdef1234.
Equaticket dashboard showing the Distribute Embed tab with event ID

The Distribute tab also shows a pre-built snippet for both inline and modal modes, with your event ID already filled in.

Platform-Specific Instructions

WordPress

In the block editor, add a Custom HTML block and paste the inline embed snippet from the Embed tab. In the classic editor, switch to the Text tab before pasting. If WordPress removes the <script> line when you save, use the Simple Embed option instead. There is no plugin to install.

Squarespace

Add a Code Block to your Squarespace page and paste the inline embed snippet there. A native Squarespace extension is submitted and under review; until it is listed, the code block is the way to do it.

Wix

Add an Embed (custom code) element to your Wix page and paste the inline embed snippet there. A native Wix app is submitted and under review; until it is listed, the embed element is the way to do it.

Webflow, Framer, and other site builders

For any site builder that allows custom code or HTML embeds, paste the inline embed snippet into an HTML embed component. Most builders have one. If yours requires script tags to be added to the page <head>, add the <script> tag there and place the <div data-eq-event-id="..."> element wherever you want the widget to appear.

Conversion Tracking

The widget fires three postMessage events you can intercept for analytics:

  • eq:ticket_added — a buyer added a ticket to their cart
  • eq:checkout_started — the buyer proceeded to payment
  • eq:purchase_complete — the order was confirmed

Map these to your Google Analytics 4 events, Meta Pixel custom events, or GTM triggers by listening on the parent window:

window.addEventListener("message", (event) => {
  if (event.origin !== "https://widget.equaticket.com") return;
  if (event.data?.type === "eq:purchase_complete") {
    gtag("event", "purchase", { value: event.data.total, currency: "USD" });
  }
});

Availability Is Always Live

The widget always fetches live ticket availability — it never reads from a cached snapshot. If your event is sold out, buyers see the waitlist option immediately. If you have a countdown-style ticket release, the widget will reflect the new availability the moment tickets go live.

Troubleshooting

The widget doesn't appear. Make sure the script tag is present and that you've replaced YOUR_EVENT_ID with your actual event ID. Check the browser console for errors — a 404 on the widget script usually means a typo in the script URL.

Checkout opens a new tab instead of staying inline. This happens when your page's Content Security Policy blocks the widget iframe. Add https://widget.equaticket.com to your frame-src directive.

The widget looks unstyled on my site. The widget ships with its own styles scoped inside the embed container. If you see unstyled HTML, your site's global CSS may be leaking into the embed. Check for aggressive CSS resets that target iframe or * selectors.

---

Once you have the widget running, head to Distribute → Embed in your dashboard to grab a shareable event link and find platform-specific setup guides. If you run into anything not covered here, reach out via the in-app chat.


Written byEquaticketGuideembedwidgetwebsite
← Back to Blog