Skip to main content
CJ → X AdsIntegration guide

Connecting CJ Affiliate to X Ads

CJ operates at enterprise scale with sophisticated commissioning rules, which means the same publisher can be paid differently by product, by customer status or by placement — and getting those inputs wrong pays real money incorrectly. X is a conversation platform where a large share of engagement is discussion rather than intent, which makes the gap between engagement metrics and conversions unusually wide. The join between them succeeds or fails on one thing: whether the twclid click identifier reaches the CJ transaction before the conversion happens, because X Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

X Ads and CJ: twclid and publisher ID on the same order

Send purchases to the X Conversions API with the twclid captured server-side on landing, hashed email, and the order ID as the conversion ID shared with the pixel. Attach twclid to the cart or customer once an email is known so later orders in another browser still match, and store the CJ Affiliate identifier in its own field.

X's Conversions API wants a purchase with the twclid captured on landing, hashed email, and a conversion ID shared with the X pixel. For a CJ advertiser, the problem is the path: X traffic arrives largely through X's in-app browser, while the purchase often completes later in the shopper's main browser, sometimes after a detour through a CJ coupon or review publisher. By then the twclid from the in-app session is gone and the CJ identifier is fresh.

The order-side fix: capture twclid server-side on landing and attach it to the cart or customer as soon as an email is known, so a later order in another browser can still be matched through hashed email. Store the CJ identifier in its own field; CJ's commission and X's credit are independent claims and both should be recorded.

Use the order ID as the conversion ID for pixel and server events. Retail volumes on X are often small, so a duplicated purchase or a coupon-site order wrongly credited to X is a visible share of the month. Reconcile X-credited orders against your order table and note how many also paid a CJ commission before anyone moves budget on X's number.

CJ → X Ads · what breaks

Why this join usually fails — CJ → X Ads

  1. 01

    The twclid click identifier never reaches CJ

    The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.

  2. 02

    Commissioning rules fed the wrong inputs

    A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.

  3. 03

    Engagement mistaken for intent

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  4. 04

    Nothing reconciles afterwards

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

CJ → X Ads · the fix

What working looks like — CJ → X Ads

  • The twclid click identifier on every conversion

  • Conversions arriving in X Ads

    The conversion is matched to a click or an engagement and becomes available for optimisation and reporting.

  • Reconciled against the source

    CJ Affiliate's own records are the reference, not either dashboard.

CJ → X Ads · architecture

How CJ and X Ads actually connect — CJ → X Ads

  1. 1

    CJ Affiliate holds the truth

    Rules commonly commission new customers differently from returning ones. If your order does not carry customer status correctly, publishers are paid the wrong rate systematically and neither side notices for months.

  2. 2

    X Ads needs a click to match

    An event X recognises, a conversion identifier for deduplication, hashed customer information, and the click identifier where you have it.

  3. 3

    The identifier is the bridge

    The twclid click identifier, captured at the visit and carried into the CJ transaction.

  4. 4

    The event source decides reliability

    Send orders net of commission, carrying the fields the commissioning rules depend on.

  5. 5

    Deduplication at the destination

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

CJ → X Ads · normal or broken

Working vs. broken, side by side — CJ → X Ads

Normal, not a fault

  • The twclid click identifier present on the conversion

    Visible on the record itself in CJ Affiliate, not merely captured somewhere on the site.

  • Sent from your order record with CJ attribution

  • Deduplicated correctly

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

  • Reconciles with the source

    X Ads's count and CJ Affiliate's records agree within a few percent over a closed window.

Actually broken

  • The twclid click identifier missing on most records

    The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.

  • Sent from the browser

    A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.

  • Counted twice, or not at all

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to CJ Affiliate.

CJ → X Ads · diagnose

Diagnostic order — CJ → X Ads

  1. 01

    Count conversions carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

    From the ad click through CJ and into X Ads.

  3. 03

    Verify that new-versus-returning status reaches CJ correctly

    Sample recent transactions and compare against your own customer records. Mismatches are money.

  4. 04

    Compare engagement rate against conversion rate by campaign

    On X the two frequently move in opposite directions, and that divergence is the finding rather than a measurement fault.

  5. 05

    Read the match rate, not the success message

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

CJ → X Ads · prove

How it gets proven — CJ → X Ads

Against CJ Affiliate's own records, not against either platform's dashboard.

Source of truth

Orders flagged by publisher, with the commissioning inputs recorded on the order.

  • The twclid click identifier confirmed present on a live conversion.
  • A real conversion followed from click through CJ to X Ads.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Transactions reconciled per order with commissioning inputs verified against your own customer data.

CJ → X Ads · free audit

What we check in the free audit

  • Count conversions carrying the twclid click identifier
  • Follow one real conversion end to end
  • Verify that new-versus-returning status reaches CJ correctly
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Orders flagged by publisher, with the commissioning inputs recorded on the order.

Get my free conversion tracking audit

Free30 minutesNo obligation

CJ → X Ads · when not to buy

When you don't need this — CJ → X Ads

  • If X Ads already reports conversions that reconcile against CJ Affiliate's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the twclid click identifier.
  • Simple flat-rate programmes have no commissioning inputs to get wrong.
  • If X is a brand and community channel for you rather than a performance one, measure it that way and do not force a conversion pipeline onto it.

CJ → X Ads · what we deliver

What gets built — CJ → X Ads

  • Identifier capture into CJ

    Capture the identifier and the customer status on the order, and verify both across every checkout path you operate.

  • Event source: your order record with CJ attribution

    Send orders net of commission, carrying the fields the commissioning rules depend on.

  • Dispatch to X Ads

    The X Conversions API, posted server-side with the click identifier and hashed customer data.

  • Reversals where they exist

    Refunds reverse and reverse the commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by publisher, with the commissioning inputs recorded on the order.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CJ → X Ads questions, answered

You can't stop both from claiming it, since each attributes by its own rules. Record twclid and the CJ identifier separately on the order and report the overlap.

Free · 30 min

Get CJ and X Ads joined properly

Free30 minutesNo obligation