At a Glance: This article explains how the Trackier Web SDK helps you keep tracking tokens accurate on iGaming websites, even when a user closes the tab after clicking a tracking link. Learn how to add the SDK to your site and retrieve the tracking token.
Overview
In the competitive iGaming industry, data-driven decisions depend on accurate tracking. The Trackier Web SDK solves the problem of lost tracking tokens. When you add the SDK to your website, you can capture tracking data reliably and make better strategic decisions for sustainable growth.
The challenge
When a user clicks a tracking link and then closes the tab, standard cookie-based tracking can lose the tracking token. Understanding the user journey is essential for effective marketing on iGaming websites, so you need a solution that overcomes this limitation.
The solution
To prevent tracking token loss, we recommend implementing the Trackier Web SDK on your website. The SDK lets you make a call that retrieves the stored tracking token, even if the user closed the tab and later returned to your website organically.
Implementation
Step 1: Add the SDK script to your landing pages
Add the following script to all landing pages, inside the <BODY> tag:
<script src='https://static-cdn.trackier.com/js/trackier-web-sdk.js'></script> <script>TrackierWebSDK.init()</script>
đĄ Tip: Add the script to every landing page. If a page is missing it, the SDK cannot store the tracking token for visitors who arrive there.
Step 2: Retrieve the tracking token
On your registration or activity page, use the following function to retrieve the tracking token. Place it inside the <BODY> of your website:
var trackingToken = TrackierWebSDK.getTrackingToken()
This ensures that essential tracking information, such as the click ID, is captured at a critical point in the user journey.
Benefits of using the Trackier Web SDK
Enhanced tracking accuracy: the SDK overcomes the limitations of cookies, so tracking is more precise.
Optimized marketing strategies: access to complete tracking data lets you refine your strategies based on real user behavior.
Improved customer acquisition and retention: a clear understanding of the user journey supports your efforts to acquire and retain customers.
Our support team is happy to answer any questions you have. Reach out to us anytime at [email protected] or through the in-platform chat. We'd love to hear from you!