Skip to main content
LearnWorlds → TikTokIntegration guide

Connecting LearnWorlds to TikTok Events API

LearnWorlds is a hosted course platform for creators and small training businesses, with the school on its own domain or subdomain. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the LearnWorlds enrolment before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

LearnWorlds to TikTok: in-app course buyers and the ttclid

To send LearnWorlds sales to TikTok, read the ttclid on landing and append it to the checkout link, since cookies rarely survive the webview hop. Send CompletePayment to the Events API from the order webhook with the order ID as event_id, hashed email and phone, and price. Free courses go as CompleteRegistration or SubmitForm.

Course creators get a lot of TikTok traffic, and much of it opens the school's sales page inside the TikTok in-app browser. If the sales page is on your marketing site and checkout is on the LearnWorlds school domain, the ttclid has to be read on landing and appended to the checkout link; relying on the _ttp cookie across that hop inside a webview usually fails.

Send CompletePayment to the Events API from the LearnWorlds order webhook, with the order ID as event_id, hashed email and phone, and the course or bundle price. Free courses should go as CompleteRegistration or SubmitForm, not as a zero-value CompletePayment. Check whether LearnWorlds offers a TikTok pixel field on your plan; if you use it, its events need the same event_id as yours.

TikTok buyers often hit the in-app checkout, stall at payment, and buy later on desktop. That second purchase has no ttclid, so the hashed email from the LearnWorlds order is what lets TikTok connect it. Compare the share of TikTok-attributed purchases that carried a ttclid; if it is low, the checkout link is dropping the parameter, and fixing that is worth more than any bid change.

LearnWorlds → TikTok · what breaks

Why this join usually fails — LearnWorlds → TikTok

  1. 01

    The ttclid never reaches LearnWorlds

    Checkout is hosted, so an identifier captured on a separate marketing site does not reach the enrolment unless carried through the checkout URL and confirmed on the order.

  2. 02

    Free lead-magnet courses counted as conversions

    Free courses are a legitimate lead magnet and a terrible conversion target. Sending them teaches bidding to find people who take free courses.

  3. 03

    The ttclid is lost in the in-app browser

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  4. 04

    Nothing reconciles afterwards

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

LearnWorlds → TikTok · the fix

What working looks like — LearnWorlds → TikTok

  • The ttclid on every enrolment

  • Conversions arriving in TikTok

    Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

LearnWorlds → TikTok · architecture

How LearnWorlds and TikTok actually connect

  1. 1

    LearnWorlds holds the truth

    LearnWorlds carries one-off courses, bundles and subscriptions side by side. Subscriptions need valuing over their expected life; treating them as one-off sales understates them badly.

  2. 2

    TikTok Events API needs a click to match

    TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.

  3. 3

    The identifier is the bridge

    The ttclid, captured at the visit and carried into the LearnWorlds enrolment.

  4. 4

    The event source decides reliability

    Send paid enrolments, distinguishing one-off purchases from subscriptions so each carries the right value.

  5. 5

    Deduplication at the destination

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

LearnWorlds → TikTok · normal or broken

Working vs. broken, side by side — LearnWorlds → TikTok

Normal, not a fault

  • The ttclid present on the enrolment

  • Sent from the LearnWorlds order webhook

  • Deduplicated correctly

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

  • Reconciles with the source

Actually broken

  • The ttclid missing on most records

    Checkout is hosted, so an identifier captured on a separate marketing site does not reach the enrolment unless carried through the checkout URL and confirmed on the order.

  • Sent from the browser

    Free courses are a legitimate lead magnet and a terrible conversion target. Sending them teaches bidding to find people who take free courses.

  • Counted twice, or not at all

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  • Nobody has reconciled it

LearnWorlds → TikTok · diagnose

Diagnostic order — LearnWorlds → TikTok

  1. 01

    Count enrolments carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether free and paid enrolments share a conversion action

    If they do, the free tier is setting your bids.

  4. 04

    Measure ttclid capture rate on TikTok traffic specifically

    Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.

  5. 05

    Read the match rate, not the success message

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

LearnWorlds → TikTok · prove

How it gets proven — LearnWorlds → TikTok

Source of truth

LearnWorlds' paid enrolments and subscription records for the same window.

  • The ttclid confirmed present on a live enrolment.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Paid enrolments confirmed separated from free, with subscriptions at lifetime value.

LearnWorlds → TikTok · free audit

What we check in the free audit

  • Count enrolments carrying the ttclid
  • Follow one real conversion end to end
  • Check whether free and paid enrolments share a conversion action
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

LearnWorlds' paid enrolments and subscription records for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

LearnWorlds → TikTok · when not to buy

When you don't need this — LearnWorlds → TikTok

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the ttclid.
  • If you run one free course as a funnel entry and monetise elsewhere, the conversion is not in LearnWorlds.
  • If TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.

LearnWorlds → TikTok · what we deliver

What gets built — LearnWorlds → TikTok

  • Identifier capture into LearnWorlds

    Append the identifier to the course checkout URL and verify it is retrievable from the enrolment record before building anything downstream.

  • Event source: the LearnWorlds order webhook

    Send paid enrolments, distinguishing one-off purchases from subscriptions so each carries the right value.

  • Dispatch to TikTok

    Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.

  • Reversals where they exist

    Refunds within the course refund window are common and should reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against LearnWorlds' paid enrolments and subscription records for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LearnWorlds → TikTok questions, answered

Yes. Carry the ttclid on the checkout link, read it from the order, and send CompletePayment server-side with hashed email and a shared event_id.

Free · 30 min

Get LearnWorlds and TikTok joined properly

Free30 minutesNo obligation