Skip to main content
MemberPress → TikTokIntegration guide

Connecting MemberPress to TikTok Events API

MemberPress runs memberships inside WordPress, which means you own the database and inherit every WordPress problem alongside it. 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 MemberPress subscription 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

MemberPress to TikTok: ttclid stored before PayPal or Stripe

Write ttclid to WordPress user meta at signup, because PayPal buyers in TikTok's in-app browser often never return to the thank-you page. Send CompletePayment or Subscribe for paid memberships from the MemberPress transaction hook with the transaction ID as event_id on pixel and Events API, plus hashed email; send free memberships as CompleteRegistration and skip renewals.

Capture ttclid on landing and write it to WordPress user meta when the MemberPress signup form is submitted, through a hook rather than a field rendered into a cached page. TikTok's in-app browser is the weak point here: a buyer who pays through PayPal may leave the webview and never come back to your thank-you page, so a pixel-only setup misses exactly those payments. The server-side event from the MemberPress transaction hook does not.

Send CompletePayment or Subscribe for paid memberships with the MemberPress transaction ID as event_id on both the pixel and the Events API call, plus the member's hashed email for the many in-app visitors whose ttclid did not survive. Free memberships, which MemberPress allows, should go as CompleteRegistration; mixing them into the paid event lets TikTok optimize paid campaigns toward free signups.

Recurring charges should not be sent; TikTok would read every renewal as a fresh purchase from someone it can no longer reach with a new ad. Refunds cannot be retracted in TikTok, so reconcile against MemberPress transactions in your own database, where refunds are recorded against the subscription.

MemberPress → TikTok · what breaks

Why this join usually fails — MemberPress → TikTok

  1. 01

    The ttclid never reaches MemberPress

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  2. 02

    Caching between the visitor and your code

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  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.

MemberPress → TikTok · the fix

What working looks like — MemberPress → TikTok

  • The ttclid on every membership

  • Conversions arriving in TikTok

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

  • Reconciled against the source

MemberPress → TikTok · architecture

How MemberPress and TikTok actually connect

  1. 1

    MemberPress holds the truth

    Owning the database is the advantage — you can query it directly and reconcile without depending on anyone. The disadvantage is that caching, plugin conflicts and optimisation tools sit between your visitor and your code.

  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 MemberPress subscription.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  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.

MemberPress → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the membership

  • Sent from the MemberPress transaction-completed hook

  • 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

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  • Sent from the browser

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  • 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

MemberPress → TikTok · diagnose

Diagnostic order — MemberPress → TikTok

  1. 01

    Count memberships carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test signup through a fully cached page

    Not as a logged-in admin, which bypasses the cache. If the metadata is empty on the cached path, caching is your cause.

  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.

MemberPress → TikTok · prove

How it gets proven — MemberPress → TikTok

Source of truth

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

  • The ttclid confirmed present on a live membership.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Subscription metadata confirmed populated on a signup made as an anonymous visitor through cache.

MemberPress → TikTok · free audit

What we check in the free audit

  • Count memberships carrying the ttclid
  • Follow one real conversion end to end
  • Submit a test signup through a fully cached page
  • Measure ttclid capture rate on TikTok traffic specifically
  • Read the match rate, not the success message

Checked against

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

MemberPress → TikTok · when not to buy

When you don't need this — MemberPress → TikTok

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the ttclid.
  • If you run no caching layer and a single membership tier, a developer can wire this in an afternoon.
  • 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.

MemberPress → TikTok · what we deliver

What gets built — MemberPress → TikTok

  • Identifier capture into MemberPress

    Capture the identifier and write it to subscription metadata through a MemberPress or WordPress hook, so it lives in your database rather than in a page that might be cached.

  • Event source: the MemberPress transaction-completed hook

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  • 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

    Cancellations and refunds are recorded against the subscription and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against MemberPress transactions and subscriptions in your own WordPress database, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

MemberPress → TikTok questions, answered

The pixel often misses them, because the buyer may not return to your thank-you page. Send CompletePayment from the MemberPress transaction hook with the stored ttclid and hashed email.

Free · 30 min

Get MemberPress and TikTok joined properly

Free30 minutesNo obligation