Skip to main content
Bricks → SalesforceIntegration guide

Connecting Bricks Builder to Salesforce

Bricks generates lean markup and is popular with developers, which means the sites built on it are usually fast and the tracking is usually hand-written rather than plugin-driven. 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 Bricks form submission 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

Bricks Builder forms into Salesforce Leads with source intact

Send each Bricks submission through the webhook action or a WordPress hook to the Salesforce API, upserting a Lead with hidden-field gclid, fbclid, rdt_cid and UTMs in custom fields. Keep first-touch click IDs and map them through Lead conversion to Contact and Opportunity, so Closed Won deals can be uploaded to Google Ads. Test each form's field names.

This is the pair where a Bricks form becomes a pipeline record. The submission should create or update a Salesforce Lead, with gclid, fbclid, rdt_cid and UTM values from hidden fields written to custom Lead fields you create first. Salesforce Web-to-Lead is the no-code route, but check whether your Bricks form actions can post to an external URL in the format Web-to-Lead expects; most developers end up sending the submission through the webhook action or a WordPress hook to a small function that calls the Salesforce API.

Deduplication is the Salesforce problem here, not the Bricks one. A visitor who fills two Bricks forms on different pages should update one Lead, not create two, so decide whether your duplicate rules match on email and make the integration upsert rather than insert. Keep the first-touch click ID on the Lead and do not overwrite it on the second submission; add a last-touch field if you want both.

The return trip is what makes this useful for ads. Map the custom click-ID fields through Lead conversion to the Contact and Opportunity, so when a deal that started on a Bricks page reaches Closed Won, the gclid is on a revenue record you can upload to Google Ads as an offline conversion. Test every Bricks form on its own: developers often name hidden fields differently per form, and one mismatched name silently writes nothing.

Bricks → Salesforce · what breaks

Why this join usually fails — Bricks → Salesforce

  1. 01

    The Lead or Contact identity never reaches Bricks

    Custom implementations vary per site, and forms submit over AJAX by default.

  2. 02

    Undocumented custom tracking

    A lean hand-built implementation is usually correct and almost never written down. The next person to touch the site either duplicates it or breaks it, and both failures are silent.

  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.

Bricks → Salesforce · the fix

What working looks like — Bricks → Salesforce

  • The Lead or Contact identity on every submission

  • 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

    Bricks Builder's own records are the reference, not either dashboard.

Bricks → Salesforce · architecture

How Bricks and Salesforce actually connect

  1. 1

    Bricks Builder holds the truth

    Developer-built sites tend to have deliberate, minimal tracking. That is an advantage until the developer leaves and nobody knows what was implemented or where.

  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 Bricks form submission.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form, with the implementation documented.

  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.

Bricks → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the submission

    Visible on the record itself in Bricks Builder, not merely captured somewhere on the site.

  • Sent from your CRM record

  • 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

    Salesforce's count and Bricks Builder's records agree within a few percent over a closed window.

Actually broken

  • The Lead or Contact identity missing on most records

    Custom implementations vary per site, and forms submit over AJAX by default.

  • Sent from the browser

    A lean hand-built implementation is usually correct and almost never written down. The next person to touch the site either duplicates it or breaks it, and both failures are silent.

  • 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

    The dashboard shows a number and no one has compared it to Bricks Builder.

Bricks → Salesforce · diagnose

Diagnostic order — Bricks → Salesforce

  1. 01

    Count submissions carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Document the existing implementation before modifying it

    On developer-built sites this is the step that prevents the most damage.

  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.

Bricks → Salesforce · prove

How it gets proven — Bricks → Salesforce

Against Bricks Builder's own records, not against either platform's dashboard.

Source of truth

Your CRM record, joined to the submission.

  • The Lead or Contact identity confirmed present on a live submission.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Qualified outcomes reconciled per form against imported conversions, with the implementation documented.

Bricks → Salesforce · free audit

What we check in the free audit

  • Count submissions carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Document the existing implementation before modifying it
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Your CRM record, joined to the submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Bricks → Salesforce · when not to buy

When you don't need this — Bricks → Salesforce

  • If Salesforce already reports conversions that reconcile against Bricks Builder'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 submissions and count how many carry the Lead or Contact identity.
  • If the original developer is available, an hour of their time is worth more than a week of reverse engineering.
  • 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.

Bricks → Salesforce · what we deliver

What gets built — Bricks → Salesforce

  • Identifier capture into Bricks

    Document what exists before changing anything, then bind to the form submission event and pass the identifier through a hidden field.

  • Event source: your CRM record

    Send qualified outcomes per form, with the implementation documented.

  • 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

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM record, joined to the submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Bricks → Salesforce questions, answered

Confirm in your Bricks version whether any built-in action can reach Salesforce; most setups post the submission to a small server function that upserts the Lead through the Salesforce API. Web-to-Lead is an option only if the form can post in its expected format.

Free · 30 min

Get Bricks and Salesforce joined properly

Free30 minutesNo obligation