Skip to main content
Tito Stripe Integration
David Rolenc avatar
Written by David Rolenc
Updated over 2 months ago

In order to successfully integrate tracking of your website utilizing ti.to store you will need to set up your system according to the instructions in the Quick Setup section in the system and then set up tracking for clicks and conversions by following the guide below.

Install and Set up Trackdesk Ppp

Our Stripe app is available here in the Stripe marketplace - https://marketplace.stripe.com/apps/trackdesk

After the app is installed, fill in all necessary information to the settings of the Stripe app and Save changes.

  1. Tenant ID - Your tenant ID can be found at the bottom of the Settings page

  2. Personal token - Personal tokens can be found at the bottom of the Settings page, or a new one can be created via the Personal tokens menu in the Settings

Set up Tracking of Clicks

​Track clicks by including the following code on every page of your website where you want to track clicks, including all landing pages added to the offer. For best results, position the code as high as possible within the <head> tag of your HTML document.

<!-- 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 -->

Make sure to replace YOUR_TENANT_ID with your actual tenant ID.

Establish Connection to Stripe

Add the following snippet to all pages where ti.to popup window can be opened on. Ideally, add the snippet ideally at the end of the <body> tag.

<!-- 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 -->

Make sure to replace YOUR_TENANT_ID with your actual Tenant ID.
Make sure to replace YOUR_REVENUE_ORIGIN_ID with your actual Revenue origin ID. Revenue origin ID can be found at the bottom of the Settings page.

Testing Your Integration

Note that our Stripe app works only for Stripe live mode (not for Stripe test mode).

Note that our Stripe app automatically checks for new conversions once every 15 minutes. In order to speed this up, you can do a manual check in the settings of our Stripe app by using the Check Now button.

Please remember to test the creation of a click and a conversion before starting your program. This way, you can verify that tracking has been set up correctly. You can create a test click and conversion by following the steps described here.

Did this answer your question?