ta_tid) is the core identifier that links a click on a Taapit deeplink to a future conversion (lead or sale).
Prerequisites
For conversion tracking to work, you only need two things:Create a Taapit deeplink
In your Taapit dashboard, create a deeplink pointing to your website or landing page (e.g.
taap.it/my-campaign → https://yoursite.com/landing).Make sure Conversion Tracking is enabled on the link.Install the Taapit SDK on your site
Add either the script tag or the NPM package to your website or app. This is what reads the Option B — NPM package (React / Next.js / Vue…):That’s it. Once the SDK is on your site and the user arrives via a Taapit link, the
ta_tid from the URL and stores it in a cookie automatically.Option A — Script tag (simplest, no build step):ta_tid is captured and persisted automatically — no extra code needed for that part.The
ta_tid is only generated when a user clicks a Taapit deeplink. If a user navigates directly to your site, there is no tracking ID and no conversion will be attributed.What is it?
When a user clicks a Taapit deeplink (e.g.taap.it/abc), our system generates a unique ta_tid and appends it to the destination URL:
How is it generated?
The tracking ID is a 24-character hexadecimal string generated server-side using Node.js cryptography:How is it persisted?
Once the user lands on your site, the Taapit SDK automatically:- Reads the
ta_tidfrom the URL query parameter - Stores it in a first-party cookie on your domain
How to retrieve it
From the Taapit SDK (recommended)
If you use the Taapit script or NPM package, the SDK handles everything automatically. You can access the tracking ID via:From the cookie manually
If you are not using the SDK, you can read the cookie directly:From the URL parameter (on page load)
If both the URL parameter and the cookie are present, the URL parameter takes
precedence and overwrites the cookie — ensuring the most recent click is always
attributed.
Passing it to your backend
Once retrieved client-side, pass theta_tid to your backend when a conversion occurs (e.g. on form submit or checkout):
/api/events/lead or /api/events/sale.
Properties
| Property | Value |
|---|---|
| Parameter name | ta_tid |
| Cookie name | ta_tid |
| Format | Hexadecimal string, 24 characters |
| Generated by | crypto.randomBytes(12).toString("hex") |
| Cookie duration | 365 days |
| Contains PII | No |
| First-party | Yes — set on your domain |
Next Steps
Track Leads
Use the ta_tid to track lead conversions.
Track Sales
Use the ta_tid to track sale conversions server-side.