Skip to content

Attribute pretix ticket sales to your ads

Track your pretix ticket shop with TSO: every paid ticket order lands with its amount on the ad the buyer came from and goes to Meta through the Conversions API.

What is transferred

FieldMeaning
Ticket orderEvery paid order with its total and currency, as a purchase.
BuyerName, email and phone from the order, hashed for the ad platforms.
Visitor IDThe ID of the tracked browser, through a hidden pretix question. It ties the purchase to the ad click.
Add to cartClicks on the widget's cart button as AddToCart, without a lead.

Setup

  1. 01Shop on your own domainEmbed the pretix widget on a page of your domain, together with the TSO script. Only there does TSO see the ad click.
  2. 02Add a question in pretixAdd a text question with the identifier tso_session to the event. A small script pre-fills it in the widget with the visitor ID.
  3. 03Create a webhook in TSOUnder “Integrations”, add the generic webhook with the event “Payment” and copy its URL.
  4. 04Build a Make scenarioTrigger on the paid order in pretix, read the order through the pretix API and send name, email, total, currency, order code and lt_visitor_id to the URL.
  5. 05Map the fieldsWith a test order, map total, currency and order code before real orders come in.
  6. 06Send to MetaAdd the Meta destination. Purchases go out as Purchase with their value, cart clicks as AddToCart, through the Conversions API.

Why pretix tracking takes more than a pixel

pretix's checkout runs in the widget's iframe or on pretix.eu. No tracking script gets in there, and the pixel on your page doesn't see the purchase. That's why many event organizers don't know which campaign sells tickets.

TSO solves it in three parts: the script sees the page view, the ad click and the click on "add to cart". The visitor ID travels with the order as the answer to a pretix question. pretix reports the paid order through Make to TSO's webhook. So every ticket sale lands with its amount on the ad the buyer came from.

What you get

  • Ticket revenue and ROAS per campaign and ad in the dashboard.
  • Purchases go to Meta through the Conversions API, with their value and hashed contact data. Meta can then optimize for ticket buyers instead of clicks.
  • Cart clicks count as AddToCart without creating a lead.

More on the attribution and Conversion API pages and the webhook integration.

Common problems and solutions

ProblemSolution
A ticket order isn't attributed to an ad.Check that the order holds the answer to tso_session and that Make sends it as lt_visitor_id. Without it there is no link to the click.
Purchases arrive without a value.Map total and currency in the integration's field mapping. Do it before the first real orders: Meta doesn't change a purchase afterwards.
Meta counts purchases twice.Check whether a pixel, Google Tag Manager or a pretix tracking plugin sends the same event to the same pixel.

Frequently asked questions

Does TSO have its own pretix integration?

Not yet. The setup uses the tracking script, a click rule and the generic webhook, with the order coming through Make.

Does it work if the shop only runs on pretix.eu?

Not fully. The TSO script only runs on your domain. Embed the widget there and TSO sees the ad click, the cart and the purchase of the same person.

Are checkout steps tracked too?

No. The checkout runs in pretix, so there is no InitiateCheckout or AddPaymentInfo. TSO sees the cart click and the paid purchase.

More integrations

Find out which ads pay off.

Hosted in Germany · Built in Austria