Skip to main content
Ghost → SalesforceIntegration guide

Connecting Ghost to Salesforce

Ghost is publishing with memberships attached, so the commercial event is a paid subscription rather than a purchase. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Ghost member before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Ghost and Salesforce: only for publishers selling to businesses

Only for B2B publishers. Trigger from Ghost's member added and edited webhooks via middleware or Zapier, filtering on paid status, a qualifying label or company domain so free members don't bury sales. Match on email to existing Contacts, carry click IDs from member labels into Lead fields mapped through conversion, and treat paid upgrades as Contact fields.

Most Ghost sites have no reason to touch Salesforce. The pairing makes sense in two cases: a company running a trade newsletter on Ghost whose readers are sales prospects, and a publisher selling sponsorships or corporate subscriptions through a sales team. In both, the member is a person at a company, and the useful outcome is Salesforce knowing that this Contact reads, signed up from a paid campaign, and upgraded.

Volume is the first thing to control. Free members outnumber paid by an order of magnitude, and syncing every one creates thousands of Leads that bury the sales queue. Filter on paid status, a qualifying label or a company email domain before anything is written. Then match on email to existing Contacts, because a newsletter signup from a known customer should update that Contact, not create a duplicate Lead that half your matching rules miss.

Ghost's member webhooks, member added and member edited, are the trigger, usually through middleware or Ghost's Zapier integration. Carry the click IDs stored in member labels into custom fields on the Lead, and map them through Lead conversion so they reach the Opportunity. A paid upgrade is a field on the Contact, not an Opportunity, unless a salesperson is actually closing a group deal.

Ghost → Salesforce · what breaks

Why this join usually fails — Ghost → Salesforce

  1. 01

    The Lead or Contact identity never reaches Ghost

    Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.

  2. 02

    Free members outnumbering paid by an order of magnitude

    Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.

  3. 03

    Writes that succeed and change nothing

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  4. 04

    Nothing reconciles afterwards

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Ghost → Salesforce · the fix

What working looks like — Ghost → Salesforce

  • The Lead or Contact identity on every member

  • Conversions arriving in Salesforce

    The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.

  • Reconciled against the source

Ghost → Salesforce · architecture

How Ghost and Salesforce actually connect

  1. 1

    Ghost holds the truth

    Ghost's payments run through a connected Stripe account, so Stripe is authoritative for money and Ghost is authoritative for membership state. They should agree and reconciling them is worth doing once.

  2. 2

    Salesforce needs a click to match

    Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.

  3. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the Ghost member.

  4. 4

    The event source decides reliability

    Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.

  5. 5

    Deduplication at the destination

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

Ghost → Salesforce · normal or broken

Working vs. broken, side by side — Ghost → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the member

  • Sent from the Ghost member webhook, or the connected Stripe subscription event

  • Deduplicated correctly

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

  • Reconciles with the source

Actually broken

  • The Lead or Contact identity missing on most records

    Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.

  • Sent from the browser

    Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.

  • Counted twice, or not at all

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  • Nobody has reconciled it

Ghost → Salesforce · diagnose

Diagnostic order — Ghost → Salesforce

  1. 01

    Count members carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether free and paid signups share a conversion action

    If they do, the free tier is setting your bids and paid acquisition is invisible.

  4. 04

    Write a test value and open the record in the UI

    The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.

  5. 05

    Read the match rate, not the success message

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Ghost → Salesforce · prove

How it gets proven — Ghost → Salesforce

Source of truth

Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.

  • The Lead or Contact identity confirmed present on a live member.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • A paid subscription confirmed to carry lifetime value with free signups excluded.

Ghost → Salesforce · free audit

What we check in the free audit

  • Count members carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Check whether free and paid signups share a conversion action
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ghost → Salesforce · when not to buy

When you don't need this — Ghost → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred members and count how many carry the Lead or Contact identity.
  • If your Ghost site is a free newsletter monetised by sponsorship, there is no subscription conversion to measure here.
  • If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.

Ghost → Salesforce · what we deliver

What gets built — Ghost → Salesforce

  • Identifier capture into Ghost

    Carry the identifier through the signup URL into member labels or via the connected Stripe checkout's metadata, and verify on a real paid signup which survives.

  • Event source: the Ghost member webhook, or the connected Stripe subscription event

    Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.

  • Dispatch to Salesforce

    API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.

  • Reversals where they exist

    Subscription cancellations reverse the lifetime value claimed.

Written guarantee

95%+ tracking accuracy

Measured against Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ghost → Salesforce questions, answered

Not a native one that we know of; teams use Ghost's webhooks or its Zapier integration. Make sure it updates existing Contacts by email rather than creating duplicate Leads.

Free · 30 min

Get Ghost and Salesforce joined properly

Free30 minutesNo obligation