How it works without Apex
Connect Shopify and TikTok for Business in Apex via OAuth (non-expiring token). Under Integrations -> TikTok Ads -> Sending conversions, pick your pixel, run a test code, then turn live sending on. Labeled Early (built to TikTok's published formats, not yet run on a shop's real ad account). Buyer email and phone are hashed before they leave Apex; ttclid goes with them as is; each event carries the same event id your TikTok pixel uses.
How Apex does it for you
Apex captures ttclid first-party on landing, streams completed Shopify orders server-side as CompletePayment (Early) with hashed email/phone and matching pixel event IDs, routes mobile app sales to your TikTok app ID, and keeps test codes out of live reporting.
How to set this up in 5 steps
Connect TikTok for Business and Shopify in Apex
Authorize TikTok for Business via OAuth (TikTok issues a non-expiring token) and connect your Shopify store in the same workspace.
Capture
ttclidfirst-party on your storefrontThe Apex storefront snippet persists
ttclidwhen shoppers land from TikTok ads, even if checkout finishes inside Apple Pay, Shop Pay, or an external browser tab.Pick your TikTok pixel under Integrations -> TikTok Ads -> Sending conversions
Open Integrations -> TikTok Ads -> Sending conversions, pick your target TikTok pixel (and mobile app ID if you also run app campaigns), and enable website purchases as CompletePayment. Note: if you remove the pixel later, website conversions stop until you pick one again.
Verify with a TikTok Events Manager test code first
Enter your TikTok Events Manager test code and fire a test send. Buyer email and phone are hashed before they leave Apex;
ttclidgoes with them as is; each event carries the same event id your TikTok pixel uses so TikTok counts each sale once, while test codes stay out of live reporting.Switch live sending on and verify your first real sends in Ads Manager
Because outbound TikTok Events API is labeled Early (built to TikTok's published formats, not yet run on a shop's real ad account), check your first results in TikTok Ads Manager alongside Apex's Shopify ROAS.
Why in-app browsers drop sales
TikTok shoppers convert fast on mobile, often moving from TikTok's in-app browser straight into Shop Pay or Apple Pay and closing the tab as soon as the confirmation sheet vibrates. Whenever that browser closes early or blocks third-party scripts, TikTok's client-side pixel drops the CompletePayment event and your ad set loses the exact conversion signal it needs to exit learning.

What Apex sends as CompletePayment
Once Shopify and TikTok for Business are connected in Apex (using TikTok's non-expiring OAuth token), open Integrations -> TikTok Ads -> Sending conversions and pick your TikTok pixel. Apex sends every completed website order as CompletePayment:
- Buyer email and phone are hashed before they leave Apex
- `ttclid` goes with them as is, captured first-party when the shopper landed on your storefront
- Each event carries the same event id your TikTok pixel uses so TikTok counts each sale once across browser and server delivery
- App-to-app routing sends in-app sales to your TikTok mobile app ID when configured
Keep in mind one operational detail: if you remove the pixel, website conversions stop until you pick one again.

Testing safely & Early check
Outbound TikTok Events API is labeled Early in Apex: it is built to TikTok's published formats, and we haven't yet run it on a shop's real ad account. Before flipping live traffic on, paste a test code from TikTok Events Manager into Integrations -> TikTok Ads -> Sending conversions and fire a test send so CompletePayment verifies cleanly without touching live ad reporting. Once switched on, check your first live results directly in TikTok Ads Manager alongside Apex's Shopify ROAS.
What this costs on Apex
Live Apex pricing · Pay-as-you-go
Estimated Apex cost for DTC store with 25,000 monthly visits and 2,000 TikTok Events API order sends
$0 / month
Covered by monthly free allowances.
| Apex meter / schedule | Scenario volume | Free allowance / basis | Rate | Apex cost |
|---|---|---|---|---|
Events Storefront visits and ttclid capture (25,000 monthly web events) | 25,000 / mo | 1M / month | $5 per 100K events | $0 |
Attribution Attributed paid-channel TikTok orders (1,000 TikTok-attributed orders tracked cleanly) | 1,000 / mo | 1.5K / month | $0.05 per attributed conversion | $0 |
Ad platform activations Server-side TikTok CompletePayment sends (Deduplicated with browser pixel via matching event ID) | 2,000 / mo | 100K / month | $10 per 100K sends | $0 |
TikTok Ads spend sync and TikTok Events API outbound sending run inside one Apex workspace. History: 13 months no card, 3 years with card, 7 years once you've paid an invoice. Live pricing.
Third-party and campaign costs (not paid to Apex)
| Expense | Typical range | Notes |
|---|---|---|
| TikTok Events API & Shopify webhooks | $0/mo | No separate tag-manager server hosting required |
