TikTok Events API for Lead Generation
Stop losing TikTok Ads conversions to ad blockers and iOS tracking restrictions. DealOracle connects your CRM directly to TikTok Events API for reliable server-side tracking.
TikTok Pixel Tracking Gaps
Like all browser-based tracking, the TikTok Pixel faces significant challenges from privacy changes and ad blocking technology:
iOS App Tracking Transparency
Apple's iOS 14.5+ requires apps to ask permission before tracking. Most users opt out, preventing pixel tracking on iPhones.
Ad Blockers
Over 40% of internet users have ad blockers that block TikTok Pixel scripts from loading entirely.
Cookie Limitations
Browser cookie restrictions limit tracking windows to days instead of weeks, breaking attribution for longer sales cycles.
Offline Conversions
For lead gen businesses, conversions happen in your CRM, not on a website. Browser pixels can't track these.
Server-Side Tracking with TikTok Events API
TikTok Events API sends conversion data directly from your server to TikTok, completely bypassing browser restrictions. DealOracle makes implementation simple.
How It Works
- 1
User clicks TikTok Ad
TikTok appends a Click ID (ttclid) to your landing page URL for attribution.
- 2
Lead submits form
The ttclid is captured via hidden field and stored in your CRM with contact information.
- 3
CRM status changes
When lead status changes (new, appointment set, closed), your CRM triggers a webhook.
- 4
DealOracle processes event
ttclid is extracted and customer PII is hashed using SHA-256 per TikTok's specs.
- 5
Event sent to TikTok
Conversion event with hashed data, ttclid, and unique event_id sent to TikTok Events API.
- 6
TikTok optimizes campaigns
TikTok attributes the conversion and optimizes your campaigns based on complete data.
TikTok Pixel vs Events API
Compare browser-based pixel and server-side Events API tracking.
| Capability | Pixel | Events API |
|---|---|---|
| Match Rate | 50-60% | 95% |
| iOS Tracking | Blocked | Works |
| Ad Blocker Resistance | Blocked | Bypassed |
| CRM Integration | None | Full |
| Offline Conversions | No | Yes |
| Event Deduplication | Manual | Automatic |
| Real-time Tracking | Yes | Yes |
Key Features
Real-Time Event Delivery
Conversion events sent to TikTok within milliseconds of CRM updates. Campaigns optimize immediately.
SHA-256 Privacy Hashing
All personal data hashed before transmission. Raw customer information never leaves your server.
Automatic Deduplication
Unique event IDs prevent double-counting when using both Pixel and Events API together.
Click ID Matching
TikTok Click IDs (ttclid) captured and sent with every event for accurate attribution.
Supported Conversion Events
Map your CRM statuses to TikTok standard events.
Who Benefits Most
The Events API recovers the conversion signal iOS ATT and ad blockers take away, feeding TikTok's algorithm clean data.
E-commerce & DTC Brands
Recover purchase signal lost to iOS ATT and feed Smart Performance Campaigns clean conversions
Lead Generation
Send qualified-lead events server-side so TikTok optimizes toward real pipeline, not just form fills
Mobile Apps
Attribute installs and in-app events reliably through the server-side Events API
Beauty & Fashion
Track add-to-cart through to purchase even when the browser pixel is blocked
Coaching & Creators
Connect TikTok ad clicks to course, membership, and high-ticket sales
Local Services
Match booked appointments back to the TikTok campaign that drove them
Set up the TikTok Events API two ways
Build it yourself, or connect your CRM and let DealOracle send every pipeline event server-side.
Do it yourself
Create an Events API token in TikTok Events Manager, capture the ttclid on your landing page, store it with the lead, and send hashed events with a shared event_id from your server.
Managed with DealOracle
Connect TikTok Ads and your CRM once, map pipeline stages to TikTok events, and every status change is sent server-side with click ID, hashing and deduplication handled.
The full walkthrough, with screenshots of Events Manager and the exact payloads, is in the complete guide to TikTok Events API setup. If your conversions happen in a CRM, the offline attribution page explains how those events get matched back to the click.
Frequently Asked Questions
What is TikTok Events API?
TikTok Events API is a server-side tracking solution that sends conversion events directly from your server to TikTok Ads. Unlike the TikTok Pixel which runs in the browser and is affected by ad blockers and cookie restrictions, Events API sends data server-to-server for more reliable attribution.
How is TikTok Events API different from the TikTok Pixel?
The TikTok Pixel runs in users' browsers and is blocked by ad blockers, iOS App Tracking Transparency, and cookie restrictions. Events API sends data directly from your server to TikTok, bypassing all browser-side limitations and achieving higher match rates.
What is a TikTok Click ID (ttclid)?
The ttclid is a unique identifier TikTok adds to URLs when users click your ads. It connects the ad click to subsequent conversions. DealOracle captures and stores ttclid from your form submissions to enable accurate attribution.
How does DealOracle integrate with TikTok Events API?
DealOracle receives webhook data from your CRM when lead statuses change. It extracts the TikTok Click ID (ttclid), hashes customer PII using SHA-256, and sends the conversion event to TikTok Events API in real-time with proper event deduplication.
What conversion events does TikTok Events API support?
TikTok Events API supports standard events including CompleteRegistration, Contact, SubmitForm, Subscribe, Lead, and Purchase. DealOracle maps your CRM statuses to these TikTok events automatically.
Does TikTok Events API work for lead generation businesses?
Yes. TikTok Events API is ideal for lead generation because it can track conversions that happen in your CRM days or weeks after the initial ad click. This is essential for businesses with offline sales cycles.
How does SHA-256 hashing protect customer privacy?
SHA-256 is a one-way cryptographic hash function. DealOracle hashes all personal data (email, phone, name) before sending to TikTok, so raw customer information never leaves your server. TikTok matches hashes against their own user data.
Can I use TikTok Events API alongside the TikTok Pixel?
Yes. TikTok recommends using both Pixel and Events API together for maximum coverage. DealOracle includes proper event deduplication (event_id) so TikTok doesn't double-count conversions tracked by both methods.
How do I set up the TikTok Events API?
There are two routes. Manual: create an Events API access token in TikTok Events Manager, capture the ttclid on your landing page, store it with the lead, then send hashed events from your server with a shared event_id for deduplication. Managed: connect TikTok Ads and your CRM in DealOracle, map your pipeline stages to TikTok events, and every status change is sent server-side automatically. Our step-by-step guide covers both.
Does the TikTok Events API cost anything?
TikTok does not charge for the Events API itself. The cost is the engineering to build and maintain the server-side pipeline, or a managed tool. DealOracle includes TikTok Events API on every plan, starting at the Starter plan, with a 7-day free trial.
What is TikTok Events API server-side tracking used for in lead generation?
Sending the events that happen after the form: qualified lead, appointment booked, deal closed. TikTok uses those to optimize delivery toward people who become customers, not just people who submit forms. Because the events come from your CRM, they include the ttclid and hashed contact details TikTok needs to match them to the ad click.
Which TikTok Events API events should a lead gen business send?
Start with SubmitForm or Lead for the opt-in, then add Contact for a booked call and CompleteRegistration or Purchase for the closed deal. Sending the deeper events is what lets TikTok optimize for revenue instead of form fills.
Start Tracking TikTok Conversions Today
DealOracle helps businesses track TikTok Ads conversions with server-side Events API. Free 7-day trial, no credit card required.
