Skip to main content
CJ → HubSpotIntegration guide

Connecting CJ Affiliate to HubSpot

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. HubSpot is where sales works, so a conversion that never reaches it is invisible to the people who decide what a lead was worth. The join between them succeeds or fails on one thing: whether the contact identity — email, or the hubspotutk cookie reaches the CJ transaction before the conversion happens, because HubSpot can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

CJ Affiliate to HubSpot: keep the cjevent on the contact

HubSpot only fits a CJ Affiliate program with a sales-assisted or B2B side. Store the cjevent value and publisher ID as contact properties at landing, since CJ's redirect muddles original source, then put the commissionable conversion on a deal, net of commission, with a new-versus-returning property matching what CJ was told.

HubSpot only earns a place next to a CJ program when the business has a sales-assisted or account side, such as B2B software, financial products or wholesale sold through CJ publishers. For a pure retail store the order belongs in the store and in CJ, and HubSpot adds a second copy of the same customer. If it does fit, the join is the email on the order, written to the contact HubSpot's tracking code already built from the visit.

The detail that breaks original source here is the redirect. A CJ link passes through CJ's own tracking domains before landing, so HubSpot may record the visit as a referral from the publisher, from CJ, or as direct traffic, depending on what the redirect chain keeps. Store the cjevent value and the publisher ID as contact properties at landing instead of relying on HubSpot's source buckets to say which partner sent the person.

Put the commissionable conversion on a deal, with the amount net of the CJ commission and a property for new versus returning customer that matches what you report to CJ. That gives finance one place to compare HubSpot's view of a customer's history with the flag CJ used to pay the publisher, which is the audit this program needs anyway. A CJ reversal should move the deal to a lost or refunded stage, not delete it.

CJ → HubSpot · what breaks

Why this join usually fails — CJ → HubSpot

  1. 01

    The contact identity — email, or the hubspotutk cookie 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

    Duplicate contacts

    Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.

  4. 04

    Nothing reconciles afterwards

    HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.

CJ → HubSpot · the fix

What working looks like — CJ → HubSpot

  • The contact identity — email, or the hubspotutk cookie on every conversion

  • Conversions arriving in HubSpot

    The revenue or conversion lands on the contact record and its associated deal, where sales can see it and where HubSpot's own attribution reporting can use it.

  • Reconciled against the source

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

CJ → HubSpot · architecture

How CJ and HubSpot actually connect

  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

    HubSpot needs a click to match

    HubSpot needs to resolve the incoming data to an existing contact or create one. Without an email or a hubspotutk it creates duplicates, and duplicate contacts break every report built on top of them.

  3. 3

    The identifier is the bridge

    The contact identity — email, or the hubspotutk cookie, 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

    HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.

CJ → HubSpot · normal or broken

Working vs. broken, side by side — CJ → HubSpot

Normal, not a fault

  • The contact identity — email, or the hubspotutk cookie 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

    HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.

  • Reconciles with the source

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

Actually broken

  • The contact identity — email, or the hubspotutk cookie 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

    Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.

  • Nobody has reconciled it

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

CJ → HubSpot · diagnose

Diagnostic order — CJ → HubSpot

  1. 01

    Count conversions carrying the contact identity — email, or the hubspotutk cookie

  2. 02

    Follow one real conversion end to end

    From the ad click through CJ and into HubSpot.

  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

    Search for the test contact by email after sending

    One record or two? Then check whether the properties landed on the contact or only on the form submission — they are different things and only the first is usable.

  5. 05

    Read the match rate, not the success message

    HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.

CJ → HubSpot · prove

How it gets proven — CJ → HubSpot

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 contact identity — email, or the hubspotutk cookie confirmed present on a live conversion.
  • A real conversion followed from click through CJ to HubSpot.
  • One contact record confirmed, not two, with the property visible on the contact rather than only on the submission.
  • Transactions reconciled per order with commissioning inputs verified against your own customer data.

CJ → HubSpot · free audit

What we check in the free audit

  • Count conversions carrying the contact identity — email, or the hubspotutk cookie
  • Follow one real conversion end to end
  • Verify that new-versus-returning status reaches CJ correctly
  • Search for the test contact by email after sending
  • 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 → HubSpot · when not to buy

When you don't need this — CJ → HubSpot

  • If HubSpot 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 contact identity — email, or the hubspotutk cookie.
  • Simple flat-rate programmes have no commissioning inputs to get wrong.
  • HubSpot's native form and tracking code already handle the straightforward cases well. This is worth building when the conversion happens somewhere HubSpot's code cannot see.

CJ → HubSpot · what we deliver

What gets built — CJ → HubSpot

  • 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 HubSpot

    The HubSpot API — contact create-or-update with the properties, or a custom behavioral event where you need the timeline entry rather than a property.

  • 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 → HubSpot questions, answered

CJ links redirect through CJ-owned domains, and what HubSpot sees as the referrer depends on the publisher page and the redirect chain. Capture the cjevent and publisher ID from the landing URL into contact properties so attribution does not depend on the referrer header.

Free · 30 min

Get CJ and HubSpot joined properly

Free30 minutesNo obligation