1. Home
  2. Sell tickets on your website
  3. Wix
5,000+ organizers trust Hi.Events

Sell tickets on Wix
One Embed HTML element.

Paste the Hi.Events widget into a Wix Embed HTML element and sell tickets from any page. Wix puts embedded code in an iframe, so this page tells you the two settings that make it behave: a fixed height and checkout in a new tab.

One box of code, no app from the Wix App Market.

§ 01 · Before you start

What you need

Nothing to install on Wix. The widget is a few lines of HTML that Hi.Events generates for you.

  • A Hi.Events event, published, with at least one ticket type on sale
  • Edit access to the Wix site in the Wix Editor
  • A page with room for a box about 600px tall

What Wix needs from you

Wix's help center does not tie the Embed HTML element to a plan, so this page does not claim one. Wix does say embedded code must use HTTPS (the widget does), and that the element is an iframe that is not responsive. The Settings > Custom Code panel, which adds code to the site head, needs a published site with a connected domain; you do not need it for the widget, because the script goes in the same box as the div.

§ 02 · Steps

How to sell tickets on Wix

5 steps, with the exact menu path in Wix for each one.

  1. Set up the widget in Hi.Events

    Open your event in Hi.Events and click Widget Embed under Integrations. Set Checkout opens in to New tab, then save the widget with a name. Under Add to your site, choose Wix in Where is your website? and copy the code. It already contains your event and widget IDs.

    Hi.Events > Your event > Integrations > Widget Embed
  2. Add an Embed HTML element

    In the Wix Editor click Add Elements, open Embed Code and choose Embed HTML. Wix places an empty box on the page; drag it to where tickets should appear.

    Add Elements (+) > Embed Code > Embed HTML
  3. Paste the code into the box

    Select the element, choose HTML and click Enter Code. Paste the code, the div and the script line together, into the Add your code here field and click Apply. The script must be inside the box: Wix renders the element in an iframe, so code added in Settings > Custom Code cannot reach it.

  4. Why checkout opens in a new tab

    The pop-up checkout covers the page the widget runs in. On Wix that is the iframe, so it would open inside the box rather than over your page. With Checkout opens in set to New tab, buyers check out on app.hi.events in a full browser tab, the same on every device.

  5. Size the box and publish

    Drag the element to your page width and about 600px tall, or taller if you sell many ticket types, because the Wix iframe does not grow with the widget. Publish, open the live site, and buy a test ticket.

§ 03 · The code

The embed code, and where it goes on Wix

The Widget Embed page in Hi.Events generates it with your widget already set up. This is what it looks like.

Code to paste

All of it goes in the same Embed HTML box. Keep the script line in the box: code in Settings > Custom Code cannot reach the Wix iframe.

<div class="hievents-widget"
data-hievents-id="123"
data-hievents-widget="wgt_a1B2c3D4e5F6g"
></div>
<script async src="https://app.hi.events/widget.js"></script>

123 and wgt_a1B2c3D4e5F6g are placeholders. Open your event, click Widget Embed under Integrations, save your widget and copy its code: it carries your real event and widget IDs. Colors, the checkout setting and the language are stored with the saved widget, so changes you save reach your page without pasting again. A Button widget keeps its text, colors and corner radius in the code, and Fit height to content is in the code for the other widgets, so copy it again after changing those. The full list of attributes is in the widget docs.

§ 04 · What to expect

What happens once it is live

Checkout opens in a new tab

Inside a Wix iframe a pop-up can only cover the box, not your page, so set Checkout opens in to New tab. Buyers finish checkout on app.hi.events and get their tickets by email.

The box does not grow

The widget auto-resizes its own content, but the Wix element is an iframe with the size you drag it to, and Wix says embedded code is not responsive. Make the box tall enough for your ticket list and check it in the mobile editor.

It matches your design

Match your event page in one click, or set your own button, background, text and border colors, corner radius and padding. Save the widget and your changes reach the box without pasting again, with its views, orders and conversion counted in Hi.Events.

If you cannot run scripts on Wix

If you would rather not manage an iframe, add a Wix button and link it to your Hi.Events event page. Buyers get the full checkout on app.hi.events, in your colors from the Homepage Designer. How the Homepage Designer works

§ 05 · The widget

What the widget sells on your Wix page

Whatever you set up in Hi.Events shows in the widget. There is no cut-down embed version.

Paid, free, donation and tiered tickets
Add-ons, sold with a ticket or on their own
Promo codes, including hidden tickets they unlock
Registration questions per ticket type
Tax and fees inside the price or added at checkout
Ticket by email, with a link to the QR code
Checkout in the visitor's own language
Sale windows, capacity and per-order limits
Card, Apple Pay and Google Pay through your Stripe account
§ 06 · FAQ

Selling tickets on Wix: questions

Do I need the Wix Events app to sell tickets on Wix?
No. The Hi.Events widget runs in a standard Embed HTML element, which is part of the Wix Editor. Tickets, orders, payments, check-in and attendee emails live in Hi.Events, and payments go through your own Stripe account.
Why does checkout open in a new tab on Wix?
Wix renders embedded code inside an iframe. A pop-up can only cover the iframe, not your page, so set Checkout opens in to New tab in Widget Embed. Buyers finish checkout on app.hi.events and get their ticket by email. On an embed code that isn't linked to a saved widget, the data-hievents-checkout="new-tab" attribute does the same and still works.
Why is the widget cut off at the bottom?
The Wix element is an iframe with a fixed size, and Wix says embedded code is not responsive. The widget grows inside it but the box does not. Drag the element taller in the editor, and check the mobile editor separately, because the box has its own size there.
Does the widget work in Wix Studio?
Wix Studio also has an HTML embed element that renders in an iframe. The same two settings apply: paste all the code into the box, and set checkout to open in a new tab.
Can I embed a buy button, my lineup or my schedule instead?
Yes. An event's Widget Embed has four types: Tickets, Button (a button that opens tickets in a pop-up), Lineup and Schedule. Each one goes into an Embed HTML element the same way. Size the box for the content: a schedule needs more height than a button.
Does it slow down my Wix site?
The script line loads with the async attribute inside the iframe, so it does not block your Wix page from rendering.
Does Wix take a cut of ticket sales?
No. Payments go through your own Stripe account, connected to Hi.Events, not through Wix Payments. Free tickets are free. Paid tickets carry the Hi.Events platform fee of 1.25% plus a small fixed amount per ticket, which you can pass to the buyer, and Stripe's standard card rate.See pricing →

Put tickets on your Wix site today

Create your event, open Widget Embed, paste the code. No credit card, no sales call.

Free events cost nothing. Paid tickets are 1.25% + $0.60, with no monthly fee and no contract — see the full pricing.