Connecting Drupal Commerce to 6sense
Drupal Commerce is self-hosted commerce inside a CMS built for complex content, which means the store is one part of a much larger site you fully control. 6sense works at the account level rather than the person level, which inverts the usual assumption: the thing you are trying to identify is a company, and the individual is almost incidental. The join between them succeeds or fails on one thing: whether the resolved account, not a person reaches the Drupal Commerce order before the conversion happens, because 6sense can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Drupal Commerce to 6sense: only for stores selling to companies
6sense fits only Drupal Commerce stores selling to companies, such as trade or distributor portals. Send placed orders server-side from the order placement hook with the email domain and billing organization, excluding consumer email domains, alongside the 6sense tag on your pages. Treat repeat orders from one company as one account reordering.
6sense places events on accounts, and a typical Drupal Commerce order is a person buying with a personal email. If your store is consumer retail, there is no account to place the order on, and this pair is the wrong shape. It earns its place when Drupal Commerce runs a B2B ordering portal: trade customers, distributors, institutional buyers ordering parts or supplies against an account.
In that case the useful fields are already on the order. The billing profile's address field has an organization line, and the order email usually has a company domain. Send the placed order server-side from the order placement hook with the domain and organization, so 6sense can put it on the right account, and leave out orders from consumer email domains rather than letting them resolve to an ISP or a webmail provider.
What 6sense does with the order is the interesting part: a first order from a new account, or a reorder from a dormant one, is a buying-stage signal the sales team should see. That means sending the order event alongside, not instead of, the 6sense tag on your Drupal pages, which handles the anonymous research visits. Many orders from one buyer at the same company are one account reordering, not growing intent, so do not report them as separate conversions.
Drupal Commerce → 6sense · what breaks
Why this join usually fails — Drupal Commerce → 6sense
- 01
The resolved account, not a person never reaches Drupal Commerce
Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run.
- 02
Configurable workflow states nobody agreed on
Drupal Commerce lets each install define its own order states. Two people reporting on the same store routinely count different states and never reconcile.
- 03
Counting people when the buyer is a committee
Four people from one company downloading four things is not four conversions. It is one account in an active evaluation, and reporting it as four inflates every lead metric while hiding the only fact that matters — that one specific company is in market.
- 04
Nothing reconciles afterwards
6sense shows the account timeline with contributing events. Check the account, not the contact, and confirm the event resolved to the right company rather than to an ISP.
Drupal Commerce → 6sense · the fix
What working looks like — Drupal Commerce → 6sense
The resolved account, not a person on every order
Conversions arriving in 6sense
The event joins the account's intent profile and contributes to its predicted buying stage.
Reconciled against the source
Drupal Commerce → 6sense · architecture
How Drupal Commerce and 6sense actually connect
- 1
Drupal Commerce holds the truth
You own the database, so the truth is exactly as good as the query. Pin down which order states count as revenue before comparing anything — Drupal's workflow states are configurable per install, so no two sites agree by default.
- 2
6sense needs a click to match
6sense needs the account identity — domain, or a resolved company — plus the event and its context. A conversion with only a personal email and no company context cannot be placed on an account.
- 3
The identifier is the bridge
The resolved account, not a person, captured at the visit and carried into the Drupal Commerce order.
- 4
The event source decides reliability
Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.
- 5
Deduplication at the destination
Deduplication is at the account level. Several people from one company converting is one account showing strong intent, not several conversions, and treating it as several is the fastest way to misread a single deal as a pipeline.
Drupal Commerce → 6sense · normal or broken
Working vs. broken, side by side — Drupal Commerce → 6sense
Normal, not a fault
The resolved account, not a person present on the order
Sent from the Drupal Commerce order placement hook
Deduplicated correctly
Deduplication is at the account level. Several people from one company converting is one account showing strong intent, not several conversions, and treating it as several is the fastest way to misread a single deal as a pipeline.
Reconciles with the source
Actually broken
The resolved account, not a person missing on most records
Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run.
Sent from the browser
Drupal Commerce lets each install define its own order states. Two people reporting on the same store routinely count different states and never reconcile.
Counted twice, or not at all
Four people from one company downloading four things is not four conversions. It is one account in an active evaluation, and reporting it as four inflates every lead metric while hiding the only fact that matters — that one specific company is in market.
Nobody has reconciled it
Drupal Commerce → 6sense · diagnose
Diagnostic order — Drupal Commerce → 6sense
- 01
Count orders carrying the resolved account, not a person
- 02
Follow one real conversion end to end
- 03
List the order states in use and agree which count as revenue
Do this before any technical work — it resolves more Drupal Commerce disputes than any code change.
- 04
Compare lead count against distinct accounts for a month
The ratio tells you how badly person-level counting is distorting your view of the pipeline.
- 05
Read the match rate, not the success message
6sense shows the account timeline with contributing events. Check the account, not the contact, and confirm the event resolved to the right company rather than to an ISP.
Drupal Commerce → 6sense · prove
How it gets proven — Drupal Commerce → 6sense
Source of truth
Drupal's commerce_order records in your own database, filtered to completed states.
- The resolved account, not a person confirmed present on a live order.
- Events confirmed on the correct account timeline, with lead-to-account ratios stated so person-level inflation is visible.
- Order field data confirmed populated on an order placed through a fully warmed cache as an anonymous visitor.
Drupal Commerce → 6sense · free audit
What we check in the free audit
- Count orders carrying the resolved account, not a person
- Follow one real conversion end to end
- List the order states in use and agree which count as revenue
- Compare lead count against distinct accounts for a month
- Read the match rate, not the success message
Checked against
Drupal's commerce_order records in your own database, filtered to completed states.
Free30 minutesNo obligation
Drupal Commerce → 6sense · when not to buy
When you don't need this — Drupal Commerce → 6sense
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the resolved account, not a person.
- If your Drupal site is content-only with commerce elsewhere, work at the commerce system instead — this is the wrong layer.
- If you sell to individuals rather than to organizations, account-level resolution has nothing to resolve and this is the wrong shape of tool.
Drupal Commerce → 6sense · what we deliver
What gets built — Drupal Commerce → 6sense
Identifier capture into Drupal Commerce
Capture the identifier and persist it as order field data through a hook on order placement, server-side, so it never depends on what the cache served.
Event source: the Drupal Commerce order placement hook
Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.
Dispatch to 6sense
Server-side event push with the account identifier and event context, from your CRM or product.
Reversals where they exist
Order state transitions to refunded or cancelled are recorded and can drive reversals.
Written guarantee
95%+ tracking accuracy
Measured against Drupal's commerce_order records in your own database, filtered to completed states.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Drupal Commerce → 6sense questions, answered
Only if you sell to organizations, for example a trade or wholesale portal. For consumer orders there is no account to resolve and the tool has nothing to work with.
The company email domain, the billing profile's organization line and the order context, sent server-side when the order is placed. Skip orders placed with consumer email domains.
Almost always because the resolved account, not a person never reached the Drupal Commerce order. Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run. Measure coverage before debugging the dispatch.
6sense resolves traffic to companies through IP and identity graph data, then models buying stage from behaviour across the account. There is no click identifier and no individual to match. A conversion sent here is evidence about an organization, and sending it person-by-person misses the point of the product entirely.
The Drupal Commerce order placement hook. Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.
6sense shows the account timeline with contributing events. Check the account, not the contact, and confirm the event resolved to the right company rather than to an ISP.
More on Drupal Commerce → 6sense
- Drupal Commerce → Google AdsConnecting Drupal Commerce to Google Ads
- Drupal Commerce → MetaConnecting Drupal Commerce to Meta Conversions API
- Drupal Commerce → GA4Connecting Drupal Commerce to GA4
RELATED GUIDES
Where Drupal Commerce → 6sense fits in the rest of your tracking
- Craft → 6senseConnecting Craft CMS to 6sense
- Ghost → 6senseConnecting Ghost memberships to 6sense
- Statamic → 6senseConnecting Statamic to 6sense
- Drupal Commerce → SalesforceConnecting Drupal Commerce to Salesforce
- Drupal Commerce → MarketoConnecting Drupal Commerce to Marketo
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Umbraco → 6senseConnecting Umbraco to 6sense
- Concrete CMS → 6senseConnecting Concrete CMS to 6sense
Free · 30 min
Get Drupal Commerce and 6sense joined properly
Free30 minutesNo obligation
