Skip to main content
TicketHero

API documentation

Run your bookings from your own systems.

Read products, availability, bookings and members. Create, change, cancel and refund bookings. Set how many places are on sale. Hear about every event the moment it happens. Included for every venue.

Getting started

Create a key in the staff admin under API and send it with every request:

curl https://tickethero.co.uk/api/v1/products \
  -H "Authorization: Bearer th_live_..."

Requests and responses are JSON. Money is in pence. Dates are written as YYYY-MM-DD and times as HH:MM in the venue’s local time; timestamps are ISO 8601 in UTC.

Keys and access

A key belongs to one venue and can never reach another venue’s data. There are two kinds:

  • Read only keys can use every GET endpoint. Use these for reporting, your CRM and email tools.
  • Read and write keys can also create, change, cancel and refund bookings, set capacity and subscribe tools to webhooks. Only give one to a system you trust, and revoke it in the admin if it is ever exposed.

We store only a fingerprint of each key, so a key is shown once, when you create it.

Errors

An error returns a status code and a body you can show to a person:

{ "error": { "code": "full", "message": "10:30 on 2026-12-12 has no places left." } }
CodeStatusMeaning
unauthorised401The key is missing or not valid.
forbidden403The key can only read, and this call changes something.
not_found404No product, start time or booking matches.
invalid400Something in the request is wrong. The message says what.
full409That start time has no places left.
conflict409The booking is cancelled or checked in, so it cannot be changed. Or the hold is no longer live. Or the venue already has the most webhook addresses it can have.
unavailable409A ticket in the order is not on sale: it is hidden, outside its on-sale times, or an early-bird tier that is not on offer at that start time.
busy429Your venue already has 50 places held through the API. Release some, or wait.
rate_limited429The key has made more than 300 calls in a minute. Wait a minute and try again.

Endpoints

GET/api/v1/products

List products

Your venue and what it sells: each experience with its slug, ticket types, prices by price band, extras and party rules. The slug and the ticket and extra key values are what you send when creating a booking. Any ticket limits are in rules.ratios: each allows at most max of the ticket for each ticket in per, and a booking that breaks one is refused.

questions lists the questions the venue asks customers, retired ones included so that old answers can still be read. Each has an id, a label, a kind (text, longtext, choice, choices, yesno, date, phone or waiver), whether it is required, whether it is asked once for the booking or for each ticket (scope), and when it is asked (when: checkout or after). A waiver also carries its terms and termsVersion.

What a key can see. Owners choose when and to whom each experience and ticket is on sale. A read only key sees what a visitor to your booking page can see: experiences that are on sale now, with the tickets on offer. Hidden tickets, staff only tickets, members only tickets, tickets that need an access code and early-bird tiers not yet released are left out. A read and write key is your own system, so it sees every experience and every ticket that is not hidden, with status (onSale, staff, code or members), from and until (UK time), release for an early-bird tier, and onSale and sale on the experience. An access code is never returned to any key. Holds and bookings made with a write key may include staff only and access code tickets, but never hidden ones, and still follow each ticket’s on-sale times and early-bird tiers; the experience’s own on-sale times and its stop-selling cut-off are for the public, so your system can still sell inside them.

A pay what you want ticket carries payWhatYouWant: { suggestedPence, maxPence }: the customer chooses its price, at least the ticket’s price on the band in prices and at most maxPence. A booking line priced that way has chosen: true and the amount as its unitPence. Holds and bookings made through the API use the suggested price (or the minimum), and a change keeps the amount the customer chose. A discount code never applies to it.

bundles lists the family tickets and other bundles on sale: a fixed price for set tickets. Each has a key, a label, prices by price band, tickets (ticket key to how many it holds), any extras included in the price, and max, the most in one booking. Book one by sending its key in bundles, beside or instead of quantities, as shown under Create a booking.

GET/api/v1/availability

Read availability

Every start time with the places released, booked, being paid for and still available. Narrow it with from and to. A read only key lists only the start times a visitor could book: ones an experience on that schedule is on sale for and has not stopped selling before. A read and write key lists them all.

GET /api/v1/availability?from=2026-12-12&to=2026-12-13

{
  "sessions": [
    { "date": "2026-12-12", "time": "10:00", "priceBand": "peak",
      "released": 6, "booked": 4, "held": 1, "available": 1 }
  ]
}

PUT/api/v1/availability

Set capacityNeeds a read and write key

Set how many places are on sale for a whole date, or for one start time if you send time. The booking flow on your website updates straight away.

We never go below what is already booked or being paid for, and never above what a start time can hold (maximum). The answer shows what each start time ended up as, so check released rather than assuming your number was used.

PUT /api/v1/availability
{ "date": "2026-12-12", "time": "10:00", "released": 8 }

{
  "sessions": [
    { "date": "2026-12-12", "time": "10:00", "released": 8, "maximum": 10,
      "booked": 4, "held": 1, "available": 3, "changed": true }
  ]
}

GET/api/v1/bookings

List bookings

Confirmed bookings, newest first. Use since to fetch only bookings confirmed after a moment, and limit for up to 500 at a time (100 if you leave it out). Add status=cancelled to list cancelled bookings instead, or status=open for bookings a customer has kept open to choose a date later. more tells you whether there are older ones beyond the limit.

A booking with the status open has been paid for but has no date: the customer gave up its start time, which went back on sale, to choose another later. Its date and time are the start time it gave up, and openDate carries until (the last day a date can be chosen, inclusive), from, openedAt and expired (true once until has passed with no date chosen; nothing is refunded automatically). It is on no door list and cannot be checked in. Once it is given a date its status is confirmed again. openDate is null for every other booking. An open booking can be read, refunded and cancelled through the API, but not moved: give it a date in the admin. passedOn counts how many times the booking has been passed to someone else; the customer is then the new holder, and the ticket’s code has changed.

GET /api/v1/bookings?since=2026-12-01T09:00:00Z&limit=50

{ "bookings": [ {
    "reference": "TH-7K4Q2M",
    "status": "confirmed",
    "product": "Santa's Workshop",
    "date": "2026-12-12",
    "time": "10:30",
    "partySize": 4,
    "tickets": [
      { "key": "child", "label": "Child (2 to 12)", "quantity": 2,
        "unitPence": 2900, "totalPence": 5800 }
    ],
    "quantities": { "child": 2 },
    "extras": [],
    "feePence": 150,
    "totalPence": 8050,
    "voucherPence": 0,
    "donationPence": 500,
    "membership": null,
    "currency": "GBP",
    "customer": { "firstName": "Sam", "lastName": "Example",
      "email": "sam@example.com", "marketingConsent": true },
    "source": { "utmSource": "google", "utmMedium": "cpc" },
    "guests": [ { "name": "Alex", "age": "6", "interests": "Dinosaurs" } ],
    "answers": [
      { "question": "q-3fa9c1d2", "label": "Any food allergies?", "kind": "text",
        "holder": null, "ticket": null, "value": "Nuts", "values": null, "signed": null },
      { "question": "q-b71e04aa", "label": "Visitor waiver", "kind": "waiver",
        "holder": 1, "ticket": "child", "value": "Sam Example", "values": null,
        "signed": { "at": "2026-12-01T10:13:40.000Z", "termsVersion": 2,
          "terms": "I have read the visitor rules…" } }
    ],
    "giftAid": null,
    "confirmedAt": "2026-12-01T10:14:03.000Z",
    "checkedInAt": null,
    "changedAt": null,
    "cancelledAt": null,
    "cancelReason": null,
    "refundedPence": 0,
    "refunds": [],
    "openDate": null,
    "passedOn": 0
  } ], "more": false }

GET/api/v1/bookings/{reference}

Get a booking

One booking, confirmed or cancelled, in the shape shown above.

answers holds the answers to the venue’s questions, one entry for the booking or for each ticket (holder counts the tickets asked about, and ticket is the ticket type). A signed waiver has signed: when it was signed, and the version and exact words of the terms the customer agreed to; value is the name they typed. Bookings you create through the API are not asked the questions, so their answers are empty.

donationPence is a donation inside totalPence, given at checkout. We take no fee on it. giftAid is the Gift Aid declaration the customer made on that donation (the charity, the amount and the donor’s name and home address), or null. It is personal data: keep it only for your claim.

membership is the membership whose benefits priced the booking (free entry, a member’s price or a members-only ticket): its reference, plan name, people it was used for and passVisits taken from a multi-visit pass, or null. The ticket lines it priced carry member: true and say “(member)” in their label. A booking a membership priced can be moved but its tickets and extras cannot be changed through the API; cancel it and book again.

POST/api/v1/bookings

Create a bookingNeeds a read and write key

Make a confirmed booking, for example one taken by phone, at the gate or in another system. It takes a place exactly as a website booking does, so two requests can never take the last place.

We work out the price from your products, so you do not send one. Add discountCode to apply one of your codes; the booking then carries a discount with the code and the amount taken off, and a code that does not apply is refused. Send an Idempotency-Key header with your own unique value: if the same key arrives again, you get the first booking back with status 200 instead of a second booking.

POST /api/v1/bookings
Idempotency-Key: phone-order-10482

{
  "product": "santas-workshop",
  "date": "2026-12-12",
  "time": "10:30",
  "quantities": { "child": 2, "adult": 2 },
  "extras": { "protection": 1 },
  "customer": { "firstName": "Sam", "lastName": "Example",
    "email": "sam@example.com" },
  "marketingConsent": false
}

Returns 201 and the booking. Its source is recorded as api.

To sell a family ticket or another bundle, send its key from the products list in bundles, for example "bundles": { "family": 1 }, with or without single tickets in quantities. The booking shows the bundle as one line in tickets, with the tickets it holds under includes, and quantities counts the whole party ticket by ticket. Places, party size, ticket limits and discount codes work from those tickets, and a bundle that is hidden, unknown or over its max is refused. Holds and changes take bundles in the same way; on a change, sending bundles or quantities replaces all the tickets, and leaving both out keeps the bundle as it was.

PATCH/api/v1/bookings/{reference}

Change a bookingNeeds a read and write key

Move a booking to another date or start time, change the tickets or extras, or correct the customer’s details. Send only what is changing; everything else stays as it is. Moving frees the old place and takes the new one in a single step.

PATCH /api/v1/bookings/TH-7K4Q2M
{ "date": "2026-12-13", "time": "11:00" }

{
  "booking": { "reference": "TH-7K4Q2M", "date": "2026-12-13", "...": "..." },
  "previousTotalPence": 7550,
  "differencePence": -1000
}

The price is worked out again. differencePence is positive when the customer now owes more and negative when they are owed money. A cancelled or checked-in booking cannot be changed.

POST/api/v1/bookings/{reference}/cancel

Cancel a bookingNeeds a read and write key

Cancel a booking and put its place back on sale. Add refundPence to refund in the same step, or leave the body empty to cancel without one. Cancelling twice is harmless. A refund follows the same rules as the refund call below.

POST /api/v1/bookings/TH-7K4Q2M/cancel
{ "refundPence": 7550, "reason": "Illness" }

POST/api/v1/bookings/{reference}/refunds

Refund a bookingNeeds a read and write key

A full or part refund without cancelling, for example a goodwill gesture. Refunds add up, and the total can never pass what the booking cost. Returns 201 and the booking with its refunds and refundedPence.

If a gift voucher paid for part or all of the booking (voucherPence), a refund goes back onto the voucher first, so voucher value never turns into money. Only what is left after that is returned to the card. Each refund says in toVoucher where it went. Cancelling a booking gives any voucher balance it used back to the voucher.

A booking paid by card on your page has the money returned to the customer’s card through your Stripe account before the refund is recorded. A booking you created through the API, paid for elsewhere, has the refund recorded only. Send an Idempotency-Key header so a retried request cannot refund twice. A refund you make in your own Stripe Dashboard appears on the booking by itself.

POST /api/v1/bookings/TH-7K4Q2M/refunds
{ "amountPence": 1500, "reason": "Late start" }

POST/api/v1/holds

Hold a placeNeeds a read and write key

Keep a place for a customer while they finish somewhere else, for example in a basket on your own website. Nobody else can take that start time while it is held. We work out the price from your products, so you do not send one.

A hold lasts ten minutes unless you send minutes (1 to 30). Send an Idempotency-Key header: if the same key arrives again you get the first hold back with status 200, and no second place is taken.

POST /api/v1/holds
Idempotency-Key: basket-88213

{
  "product": "santas-workshop",
  "date": "2026-12-12",
  "time": "10:30",
  "quantities": { "child": 2, "adult": 2 },
  "minutes": 15
}

{
  "token": "3f9c…",
  "status": "held",
  "product": "santas-workshop",
  "date": "2026-12-12",
  "time": "10:30",
  "totalPence": 7550,
  "expiresAt": "2026-12-01T09:15:00.000Z",
  "pinned": true,
  "reference": null,
  "resumeUrl": "https://tickethero.co.uk/embed/your-venue?hold=3f9c…",
  "resumeQuery": "th_hold=3f9c…"
}

To send the customer to pay, either open resumeUrl, or add resumeQuery to the address of the page on your own website that carries the booking flow, such as https://your-site.example/book?th_hold=3f9c…. Either way they land on payment with the date, start time and tickets already set, and the place still held.

If the time runs out, the customer is told and can choose again. A held place is limited to its own product when they do, unless you send "pinned": false.

GET/api/v1/holds/{token}

Read a hold

Whether the place is still held and when it runs out. status is held, expired, confirmed or cancelled. Once the customer has completed the booking, reference is the booking to read with GET /api/v1/bookings/{reference}.

POST/api/v1/holds/{token}/extend

Extend a holdNeeds a read and write key

Give a live hold more time, counted from now: ten minutes, or the minutes you send. A hold that has run out cannot be brought back, and no hold lasts more than an hour from when it was made. Asking for less time than is left changes nothing.

POST /api/v1/holds/3f9c…/extend
{ "minutes": 10 }

DELETE/api/v1/holds/{token}

Release a holdNeeds a read and write key

Put the place back on sale straight away, for example when the customer empties their basket. Releasing twice is harmless.

GET/api/v1/members

List members

Your memberships, newest first, with any key. Add status=active, expired or cancelled to list only those, email to find one person’s memberships, and limit for up to 500 at a time (100 if you leave it out). A membership is valid on both its startDate and its endDate. source is online when the member joined on your website and manual when your team added them; payment.method is stripe, cash, cheque, card_machine, other, free or demo, and demonstration is true when no money moved. Each renewal is listed with its dates and amount, including renewals the member paid for online. visits is { total, used, left } for a multi-visit pass, else null, and endDate is null for a pass with no end date.

GET /api/v1/members?status=active&limit=50

{ "memberships": [ {
    "reference": "TM-4QK7RZ",
    "status": "active",
    "plan": { "slug": "patron", "name": "Patron" },
    "member": { "firstName": "Sam", "lastName": "Example",
      "email": "sam@example.com", "marketingConsent": false },
    "startDate": "2026-10-19",
    "endDate": "2027-10-18",
    "visits": null,
    "amountPence": 10000,
    "currency": "GBP",
    "source": "online",
    "payment": { "method": "stripe", "demonstration": false },
    "createdAt": "2026-10-19T09:12:44.000Z",
    "confirmedAt": "2026-10-19T09:13:02.000Z",
    "cancelledAt": null,
    "cancelReason": null,
    "renewals": []
  } ], "more": false }

GET/api/v1/vouchers

List gift vouchers

Your gift vouchers, newest first, with any key. Add status=active, used, expired or void to list only those, and limit for up to 500 at a time (100 if you leave it out). The code itself is never returned, only its last four characters in codeHint, so a leaked list cannot be spent. source is online when someone bought it on your website, manual when your team issued it, import for an imported code and refund when it was given in place of a refund. balancePence is what is left to spend.

GET /api/v1/vouchers?status=active&limit=50

{ "vouchers": [ {
    "reference": "TV-4QK7RZ",
    "status": "active",
    "codeHint": "•••• K7RZ",
    "design": "Christmas gift voucher",
    "valuePence": 5000,
    "balancePence": 3500,
    "currency": "GBP",
    "expiresOn": "2027-10-18",
    "source": "online",
    "buyer": { "firstName": "Sam", "lastName": "Example",
      "email": "sam@example.com", "marketingConsent": false },
    "recipientName": "Alex",
    "payment": { "method": "stripe", "demonstration": false },
    "note": null,
    "createdAt": "2026-10-19T09:12:44.000Z",
    "confirmedAt": "2026-10-19T09:13:02.000Z",
    "voidedAt": null
  } ], "more": false }

POST/api/v1/webhooks

Subscribe to eventsNeeds a read and write key

Subscribe a web address to events, the way a tool such as Zapier subscribes itself when someone switches a zap on. Send the url and, if you want fewer than all of them, the events to send, using the names under Webhooks. The address must start with https:// and be a public website name. The answer is 201 with the new id and its signing secret, which is shown this once. A venue can have up to ten addresses in all, counting those added in the admin; past that the answer is 409.

POST /api/v1/webhooks
{ "url": "https://hooks.example.com/abc",
  "events": ["booking.confirmed", "booking.cancelled"] }

{ "id": "k17…", "url": "https://hooks.example.com/abc",
  "events": ["booking.confirmed", "booking.cancelled"],
  "status": "active", "createdAt": "2026-10-19T09:00:00.000Z",
  "lastDeliveryAt": null, "lastDeliveryStatus": null,
  "secret": "whsec_…" }

GET/api/v1/webhooks

List subscriptionsNeeds a read and write key

The addresses that were subscribed through the API, without their secrets. Addresses you added in the admin are not listed, so a tool can only see and remove its own. status is active, paused or off (we switch an address off after seven days of failures).

GET /api/v1/webhooks

{ "webhooks": [ { "id": "k17…", "url": "https://hooks.example.com/abc",
    "events": ["booking.confirmed"], "status": "active", … } ] }

DELETE/api/v1/webhooks/{id}

UnsubscribeNeeds a read and write key

Stop sending to an address that was subscribed through the API. An id that is not yours, or an address added in the admin, answers 404.

DELETE /api/v1/webhooks/k17…

{ "id": "k17…", "deleted": true }

A link can open the booking flow on one experience, one date and one start time. Add any of these to the address of the page on your website that carries the booking flow:

https://your-site.example/book?th_product=santas-workshop&th_date=2026-12-12&th_time=10:30

The visitor lands with that start time chosen and only their tickets left to pick. If it has sold out, the flow says so and shows the other times on that date. The same three can be set on the booking element, or on any button or link on the page:

<div data-tickethero="your-venue"
     data-tickethero-product="santas-workshop"
     data-tickethero-date="2026-12-12"
     data-tickethero-time="10:30"></div>

<a href="#book" data-tickethero-product="santas-workshop"
   data-tickethero-date="2026-12-12">Book 12 December</a>

To make a page sell one experience and nothing else, pin it with data-tickethero-only. The other experiences are never sent to that page, the choice of experience disappears, and a booking for anything else is refused, whatever link the visitor followed. Several can be pinned, separated by commas.

<div data-tickethero="your-venue" data-tickethero-only="santas-workshop"></div>

A ticket can be set to need an access code, such as for members or a partner. A visitor can type the code into the booking flow, or you can open the tickets for them: add th_code to the page address, or data-tickethero-code to the booking element or a button. Capitals do not matter, and one code can unlock several tickets. Treat a code as an invitation, not a password: anyone who has it can use it.

https://your-site.example/book?th_code=friends25

<a href="#book" data-tickethero-product="santas-workshop"
   data-tickethero-code="friends25">Book with your code</a>

Selling memberships

To sell a membership plan on a page of your website, name the plan on the booking element with data-tickethero-membership. The page then shows the plan, its price and benefits, asks for the member’s name and email, and takes payment to your own Stripe account. Each plan’s exact line is on the Memberships page in the admin. Like pinning, it is set on the element only, never from the page address.

<div data-tickethero="your-venue" data-tickethero-membership="patron"></div>
<script src="https://tickethero.co.uk/embed.js" async></script>

Selling gift vouchers

To sell a gift voucher on a page of your website, name its design on the booking element with data-tickethero-voucher. The page lets the buyer pick an amount, add a name and a message, send the voucher to themselves or straight to the person it is for on a day they choose, and pay to your own Stripe account. Each design’s exact line is on the Gift vouchers page in the admin. Like pinning, it is set on the element only, never from the page address.

<div data-tickethero="your-venue" data-tickethero-voucher="christmas-gift-voucher"></div>
<script src="https://tickethero.co.uk/embed.js" async></script>

A customer enters the voucher’s code in the gift voucher box when they pay for a booking. It pays all or part of the booking; what is left stays on the voucher. Our fee is taken once, when a voucher is sold by card, and never again when it is used.

Webhooks

Add an address in the staff admin under API, or subscribe one through the API, and we will send it a message for five booking events: booking.confirmed, booking.changed, booking.cancelled, booking.refunded and booking.checked_in. The body carries the event, your venue and the booking in the shape shown above. Bookings made through the API send the same events as bookings made on your website, and booking.changed is also sent when your team moves a booking or corrects the customer’s details in the admin. When you let customers change their own booking, a customer moving it sends booking.changed, and a customer cancelling it sends booking.cancelled and, if money went back, booking.refunded, in the same shape; the booking’s cancelReason says “Cancelled by the customer”.

booking.changed is also sent when a booking is passed to someone else (new customer, passedOn up by one), kept open with no date (status becomes open), given a date again (status back to confirmed with the new date and time), and when an open booking’s time to choose runs out (openDate.expired becomes true). A refund given in answer to a customer’s refund request sends booking.refunded, as every refund does. If your system reads status, treat open as a sale with no visit date.

Memberships send three more: membership.created when someone joins online or your team adds them, membership.renewed and membership.cancelled. Their body carries membership, in the shape shown under List members, in place of booking.

Gift vouchers send two: voucher.sold when a voucher bought on your website becomes usable (once the payment is confirmed), and voucher.redeemed when a confirmed booking has used one. Their body carries voucher, in the shape shown under List gift vouchers, in place of booking, and voucher.redeemed adds redemption: { booking, amountPence }, the booking’s reference and what the voucher paid towards it. Vouchers you issue or import yourself send neither.

You can have your main address, which gets every event, and up to ten more, each with its own signing secret and its own choice of events. Check the secret against the right address: a message to one address is never signed with another’s.

Every request is signed, and carries the time it was sent. Check both, and ignore anything that does not match or is more than five minutes old, so that a message someone has recorded cannot be played back later:

  • TicketHero-Timestamp: the Unix time in seconds.
  • TicketHero-Signature-V2: sha256= and the hex HMAC-SHA256, with your signing secret, of the timestamp, a full stop and the raw body: for example 1793527200.{"event":…}.
import { createHmac, timingSafeEqual } from "node:crypto";

const FIVE_MINUTES = 5 * 60; // seconds

// rawBody: the request body exactly as received, before any JSON parsing.
function isFromTicketHero(rawBody, headers, secret) {
  const timestamp = headers["tickethero-timestamp"];
  const given = headers["tickethero-signature-v2"];
  if (!timestamp || !given) return false;

  // Refuse anything old (or from the future).
  const age = Math.abs(Date.now() / 1000 - Number(timestamp));
  if (!(age <= FIVE_MINUTES)) return false;

  const expected =
    "sha256=" +
    createHmac("sha256", secret).update(timestamp + "." + rawBody).digest("hex");
  return (
    given.length === expected.length &&
    timingSafeEqual(Buffer.from(given), Buffer.from(expected))
  );
}

We still send TicketHero-Signature, the HMAC of the raw body alone, exactly as before, so a receiver that already checks it keeps working. It does not cover the time, so it cannot tell a new message from a recorded one: move to TicketHero-Signature-V2 when you can.

Answer with any 2xx status within ten seconds. If your system cannot be reached, or answers 408, 425, 429 or any 5xx status, the message is sent again after 1 minute, then 10 minutes, 30 minutes, 1 hour, 90 minutes, 2 hours, 4 hours, 6 hours, 9 hours and four times after 12 hours: fourteen attempts over about 72 hours. Any other 4xx answer is taken as a refusal and is not repeated.

Every attempt carries the same TicketHero-Delivery id, and TicketHero-Attempt counts from 1, so you can ignore a message you have already handled. Each attempt is signed afresh with its own TicketHero-Timestamp, so a retry is never refused as old. A repeat carries the booking as it stands when it is sent.

The admin lists every message from the last 30 days and how it went. One that gave up can be sent again from there: it keeps its delivery id, is signed afresh and carries TicketHero-Replay: 1, so your system can tell. If no message gets through to an address for three days while we are trying, we email the venue’s owner once; after seven days we switch the address off, say so in the admin, and the owner switches it back on once it is fixed. The bookings endpoint is always there to catch up from.

Analytics on your page

The booking flow tells your page what each visitor does, so the analytics you already have can record it. There is nothing to install. If your page has Google Tag Manager, Google Analytics or the Meta pixel, each receives three events in its own format:

  • view_item when an experience is chosen (Meta: ViewContent);
  • begin_checkout when a place is held, with the value and the tickets (Meta: InitiateCheckout);
  • purchase when the booking is confirmed, with the value, the tickets and the booking reference as the transaction id (Meta: Purchase). It is sent once for each booking.

We load no tracking of our own, so your cookie consent decides what is recorded. No name or email address is included. To use the events yourself, listen on your page:

window.addEventListener("tickethero", (event) => {
  const { event: name, booking } = event.detail;
  // name: "view_item" | "begin_checkout" | "purchase"
  // booking: { product, valuePence, items, reference, date, time }
});

To switch the automatic hand-off to Google and Meta off, add data-tickethero-tracking="off" to the booking element. The tickethero event still fires.

What to know

Need something that is not here? Tell us and we will build it with you. The roadmap shows what is coming.