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.
1. 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 > Personal tokens.
Your Revenue Origin ID.
2. 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.
Paste it into the
<head>tag of every page on your website (including landing pages).Replace
YOUR_TENANT_IDwith your actual Tenant ID
<!-- Trackdesk tracker begin -->
<script async src="//cdn.trackdesk.com/tracking.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('YOUR_TENANT_ID', 'click');
</script>
<!-- Trackdesk tracker end -->
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 at the end of the
<body>tag on those pages.Replace
YOUR_TENANT_IDandYOUR_REVENUE_ORIGIN_IDwith your actual details.
<!-- Trackdesk tracker begin -->
<script async src="//cdn.trackdesk.com/tracking.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("YOUR_TENANT_ID", "externalCid", {
externalCid: data.email,
revenueOriginId: "YOUR_REVENUE_ORIGIN_ID",
});
})
</script>
<!-- Trackdesk tracker end -->
3. 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.


