This integration allows you to track affiliate-driven registrations and sales from your Tito storefront using Trackdesk. By connecting your Stripe account and implementing two small code snippets, you ensure accurate conversion attribution.
⚠️ Important:
Stripe Modes: The integration is compatible with Stripe Live mode, Test mode, and Sandbox mode.
Before you start
Before beginning the integration, ensure you have the following ready:
Access to your Tito dashboard and the website where the ticket shop is hosted.
Your Tenant ID.
A Personal Token: Generated in Settings → Integrations → Personal tokens.
Your Revenue Origin ID.
Step-by-step instructions
Step 1: Install and configure the Trackdesk Stripe app
The Stripe app bridges the data between your payments and Trackdesk.
Go to the Stripe Marketplace and install the Trackdesk app.
Open the app settings within your Stripe dashboard.
Enter your Tenant ID and Personal Token in the required fields.
Click Save changes.
Step 2: Set up click tracking
You must add a script to your website to track when users arrive via an affiliate link.
Copy the code snippet below:
<!-- Trackdesk tracker begin -->
<script async src="//TENANT_ID.trackdesk.com/main.js"></script>
<script>
(function(t,d,k){(t[k]=t[k]||[]).push(d);t[d]=t[d]||t[k].f||function(){(t[d].q=t[d].q||[]).push(arguments)}})(window,"trackdesk","TrackdeskObject");
trackdesk("TENANT_ID", "click");
</script>
<!-- Trackdesk tracker end -->Replace
TENANT_IDwith your Tenant ID.Paste it into every page of your website, including all landing pages. Place it as high as possible in the
<head>, ideally right after the opening<head>tag, so the click is recorded before the visitor can leave the page.
Step 3: Establish connection to Stripe
This snippet connects Tito registration events to Trackdesk tracking, using the customer's email as the identifier.
Identify the pages where your Tito popup window or storefront is embedded.
Paste the following snippet right before the closing
</body>tag on those pages, so any customer details on the page are already loaded when it runs:<!-- Trackdesk tracker begin -->
<script async src="//TENANT_ID.trackdesk.com/main.js"></script>
<script>
(function(t,d,k){(t[k]=t[k]||[]).push(d);t[d]=t[d]||t[k].f||function(){(t[d].q=t[d].q||[]).push(arguments)}})(window,"trackdesk","TrackdeskObject");
window.tito = window.tito || function() { (tito.q = tito.q || []).push(arguments);};
tito("on:registration:finished", function(data){
trackdesk("TENANT_ID", "externalCid", {
externalCid: data.email,
revenueOriginId: "REVENUE_ORIGIN_ID"
});
});
</script>
<!-- Trackdesk tracker end -->Replace these values:
TENANT_ID: your Tenant IDREVENUE_ORIGIN_ID: your Revenue Origin ID
Testing the integration
Verify the integration
Generate a Test Click: Use an affiliate tracking link to visit your site.
Complete a Registration: Perform a test purchase/registration in Tito.
Check Stripe Sync: Wait 15 minutes for the automatic sync, or speed up the process by clicking the Check Now button in the Trackdesk Stripe app settings.
Confirm in Trackdesk: Ensure the click and conversion appear in your Trackdesk dashboard reports.


