Article body
Full article
0 Summary
To bring shelf e-commerce, content commerce, and on-demand retail into one operations dashboard, first align the sales definitions and then preserve differences in sessions, stores, and fulfillment. This article uses a three-channel data model to distinguish net sales by payment date from refund flows by refund date and to handle refunds split across transactions. It uses data integration, metrics, and dashboards in HENGSHI SENSE 7.0 to reconcile the results.
1 The three channels generate sales differently
1.1 Shelf e-commerce is driven by search and browsing
Search, store browsing, and campaign pages are the main paths to purchase on shelf e-commerce platforms. Products and stores are the main organizing entities. Sales accumulate by product and day. With relatively standardized definitions and a clear sequence of order states, this channel can serve as a reference for the combined view.
1.2 Content commerce is driven by sessions and content
Content commerce sales are tied to livestreams, short videos, and other content sessions. Purchases cluster around periods of content exposure and are closely linked to creators and sessions. Sales need to be traceable to content and creators as well as to the store.
1.3 On-demand retail depends on speed and local fulfillment
On-demand retailers fulfill orders from nearby stores. Inventory coverage and delivery times affect sales, and orders are tied to stores and inventory. Monitor both sales and fulfillment status. Stockouts and missed delivery deadlines affect the number of valid orders.
2 Align the sales definitions
2.1 Distinguish order placement, payment, and confirmed receipt
Order value includes unpaid orders. Paid value represents actual payments, while confirmed receipt marks completion. The elapsed time between these stages differs by channel, so the combined view must identify the stage it uses. Mixing order placement with confirmed receipt produces numbers that cannot be reconciled across channels.
2.2 Align the treatment of tax and shipping
Use the same rules for tax, shipping fees, and discounts in all three channels. Platform exports use different definitions. Map them to a common definition at ingestion so the aggregate does not need ad hoc adjustments.
2.3 Specify which order statuses count
Define how unpaid, canceled, and refunded orders affect sales. On-demand retail also needs to distinguish orders awaiting fulfillment, orders being fulfilled, and completed orders. Explain the definition in the summary so readers know which states are included.
2.4 Standardize currencies and units
For cross-border or multicurrency operations, convert amounts from all channels into a common currency and unit. Fix the exchange-rate basis and date. Totals across unconverted currencies are not comparable. Identify units such as pieces, sets, and monetary amounts in definitions so counts and values are not mixed.
Maintain conversion rules in the definition layer and reference the same exchange-rate basis in each channel view. When rates change or a currency is added, update the rules in one place.
2.5 Separate promotion periods from regular periods
Sales during major promotions and special events differ from those in regular periods. Label the phase in the combined view. A single trend that mixes both can misrepresent ordinary channel performance. Compare with a baseline from the same phase and group promotion data separately.
Promotion orders may combine discounts, gifts, and installments. State whether the sales amount is net of discounts. Document how each channel’s promotions map to the common definition to keep gross and net amounts distinct.
Table 1. Sales definitions across three channels
| Item | Shelf e-commerce | Content commerce | On-demand retail |
|---|---|---|---|
| Sales drivers | Search, browsing, and promotions | Sessions, short videos, and creators | Nearby stores and speed |
| Order-state progression | Relatively complete, accumulating by day | Concentrated in content exposure periods | Tied to stores and fulfillment |
| Drill-down dimensions | Product, store, and campaign | Session, creator, and product | Store, inventory, and fulfillment |
| Common transaction basis | Select and label either payment or receipt | Same | Same |
| Effect of after-sales and fulfillment | Relatively fixed return window | Affected by concentration within sessions | Report stockouts and late fulfillment separately |
3 Differences in inventory and timeliness
3.1 Each inventory definition serves a distinct purpose
Shelf e-commerce tracks warehouse stock and sellable inventory. Content commerce tracks inventory allocated for the event and for product presentations. On-demand retail tracks sellable inventory at stores and delivery coverage. These definitions reflect different fulfillment processes. Show them by channel in the combined view instead of forcing them into one number.
3.2 Measure timeliness separately
On-demand retail focuses on fulfillment duration, the share delivered within promised deadlines, and the stockout rate for sellable products at stores. Shelf and content channels may also track delivery and stockouts, but check their start and end events and denominators before comparing them. Published average paid order value can be standardized across channels. Aggregate conversion rates only when the audiences reached, observation windows, and units of deduplication are comparable.
3.3 Data updates on different schedules
Content session data is timely, while inventory and fulfillment data can arrive with a delay. Refresh schedules differ by channel. Label the cutoff for each part of the combined view so readers can see when the compared data was captured.
3.4 Take coverage differences into account
On-demand retail depends on store coverage and delivery zones. Shelf and content commerce can reach wider areas. When comparing growth, explain what each channel can reach before comparing sales volumes.
Product coverage also differs. Channels do not necessarily offer the same SKUs. Explain assortment boundaries when comparing category mix. Otherwise, differences in availability can look like differences in operating performance.
3.5 Present fulfillment metrics by channel
Group fulfillment metrics by each channel’s process. On-demand retail can use promised delivery and actual receipt times to measure delays. Shelf e-commerce may report the on-time shipment rate. State the start and end events, statistical unit, and where the metric does not apply.
4 Account for returns and refunds
4.1 Use separate time axes for payment cohorts and refund flows
When reviewing a cohort’s performance by payment date, attribute refunds completed by the observation cutoff to their original paid orders. When examining cash outflows by refund date, aggregate by refund completion time. The metrics answer different questions. The amount net of refunds for a payment cohort changes as the cutoff advances.
4.2 Show sales, refunds, and net amounts side by side
The summary shows paid amount, refunds as of the cutoff, and the payment cohort’s net amount. A separate after-sales page shows flows by refund date, reasons, and fulfillment channel. Use the same statuses, time basis, currency, and observation period when comparing channels.
4.3 Attribute refunds to the original channel
Link after-sales transactions back to the original channel and session. Misassigned refunds distort channel performance. This requires the original channel identifier on the order, so keep it from ingestion onward.
4.4 Capture after-sales reasons
Record reasons such as quality, sizing, impulse buying, and logistics for returns and refunds. They inform channel decisions as well as product and assortment choices. Recording only amounts limits after-sales analysis to totals.
The mix of reasons varies by channel. Explain differences in classification rules when comparing results. Maintain reason categories centrally and map new channels to them so comparisons remain possible.
5 Cross-channel attribution and repeat purchases
5.1 Recognize the same customer across channels
Link customer accounts across channels using a common identifier to measure cross-channel repeat purchase and customer value. If identifiers are incomplete, track repeat purchases within each channel and limit cross-channel conclusions accordingly.
5.2 Agree on attribution rules first
If someone watches content and then buys on a shelf platform, decide how to attribute the sale. Options include touchpoint attribution, last-touch attribution, and separate reporting by stage. Results differ substantially by rule, so identify the rule in the view.
5.3 Determine whether channels support or substitute for one another
Study whether channels direct customers to each other or draw traffic away from one another. This requires customer journeys alongside channel totals. Adding the channels together can hide overlapping reach.
5.4 Segment customers across channels
With a shared customer identifier, group people by their purchase channels. Examples include customers who buy only through shelf platforms, those who buy through both content and shelf platforms, and those who make repeat purchases through on-demand retail. Different groups have different value and operating needs. The results can guide how channels work together as well as how sales are attributed.
Segmentation depends on identifier coverage. If identifiers are incomplete, cross-channel segmentation yields limited conclusions. Label the coverage rate so observations about a subset do not stand in for the whole customer base.
Table 2. Layers of a combined view
| Layer | Content | Definition and handling |
|---|---|---|
| Overview | Sales across channels, net amount, average order value | Align the sales basis, currency, and units |
| Channel | Shelf e-commerce, content commerce, and on-demand retail separately | Preserve distinct inventory and timeliness metrics |
| Detail | Session, creator, store, and product | Support drill-down into after-sales and attribution |
| Customer | Cross-channel repeat purchases and customer value | Join on the shared customer identifier |
| Definitions | Data cutoff and metric definitions | Identify transaction state and attribution rules |
6 Design the layers of one view
6.1 Start with comparable metrics in the overview
Prioritize comparable paid amount, number of paid orders, average paid order value, and net amount as of a common date. If denominators cannot be aligned, report conversion rates by channel. Keep original definitions for inventory and timeliness.
6.2 Preserve channel differences
Show the individual metrics and operating details for shelf e-commerce, content commerce, and on-demand retail. Group their differences in context so aggregation can preserve each definition.
6.3 Use the detail layer for drill-down and attribution
Put session, creator, store, and product details under the channel layer. Make after-sales and attribution available through drill-down. If an aggregate looks unusual, use detail to locate its channel and underlying entity.
6.4 Explain the definitions in the view
Include the sales definition, data cutoff, attribution rules, currency, and units on each combined view. Give readers the conditions and the numbers on the same screen so the figures do not depend on a verbal explanation.
In SENSE, maintain calculations, qualifying conditions, and time axes centrally, using the same metric source across dashboards. If the page explains a definition in manually maintained text, review that text and historical reconciliation results when the metric changes.
7 Ingest data and maintain definitions
7.1 Carry the channel identifier throughout
Give every order a channel identifier, original status, and associated entity at ingestion. Missing identifiers make it impossible to align definitions and attribute activity later. Maintain one channel mapping table and add a mapping when onboarding a channel.
7.2 Keep definitions in the semantic layer
Maintain sales definitions, after-sales rules, and attribution in a common metric layer and reference them from each channel view. Document channel-specific exceptions alongside the definition instead of calculating them separately on each page.
7.3 Reconcile channel numbers regularly
Compare summaries with each platform’s exports and correct differences in definitions. Inconsistent numbers often originate in mapping or status scope and need investigation at the definition layer.
7.4 Follow a consistent onboarding sequence
For a new channel, establish the progression of transaction states, the definitions, and attribution dimensions. Then map the data and assign it to the right layer of the combined view. Retrieving data before confirming definitions makes the new channel hard to reconcile.
After onboarding, allow time to compare each period with the platform export. Bring the channel into formal operating conclusions after status coverage and mappings stabilize. A standard onboarding process makes the next channel easier to add.
7.5 Use feedback from the view
After rollout, ask which channel metrics prompt repeated questions, whether readers see the definitions, and how well drill-down works. Use the feedback to refine the layers and the way definitions are shown.
Record common questions in the metric definitions. After updates, recheck cutoffs, campaign grouping, and differences from platform exports.
7.6 In practice: Reconcile paid orders by their original channel
Ingest platform orders, successful payment transactions, and successful refunds separately through HENGSHI SENSE Data Integration. Deduplicate payments and refunds by their respective event IDs. Retain the source system, store, and original order number at ingestion, and convert amounts into cents of the same currency. The example aggregates payments and refunds separately by original order key before joining. This avoids multiplying several payments by several refunds.
WITH paid AS (
SELECT source_system, shop_id, order_id, SUM(paid_cents) AS amount
FROM payment_fact
WHERE status = 'success' AND paid_at >= :period_start
AND paid_at < :period_end
GROUP BY source_system, shop_id, order_id
), refunded AS (
SELECT source_system, shop_id, order_id,
SUM(refunded_cents) AS amount
FROM refund_fact
WHERE status = 'success' AND refunded_at < :as_of
GROUP BY source_system, shop_id, order_id
)
SELECT o.channel, COUNT(*) AS paid_orders,
SUM(p.amount) AS paid_cents,
SUM(COALESCE(r.amount, 0)) AS refunded_cents_as_of,
SUM(p.amount - COALESCE(r.amount, 0)) AS cohort_net_cents
FROM paid p
JOIN order_dim o USING (source_system, shop_id, order_id)
LEFT JOIN refunded r USING (source_system, shop_id, order_id)
GROUP BY o.channel;
Suppose an order has two payments totaling CNY 100 and two refunds totaling CNY 30. As of the cutoff, the cohort’s net amount is CNY 70. Joining both sets of transactions directly would produce four rows and double payments and refunds. During acceptance, reconcile samples one order at a time, including split transactions, activity spanning dates, and identical order numbers at different stores. Verify that the order dimension is unique on the composite key and list unmatched original orders separately. This example reconciles a payment period as of a specified date. Installments spanning months or attribution of partial payments need a separate allocation rule.
After reconciliation, use SENSE Metrics Management to align units and time definitions for payments, refunds, and net amounts. Use filters and drill-down to link the channel overview to session, store, and SKU details. Automatically modeled data packages can configure channel, store, and product keys through common dimensions. Use the corresponding composite key for identifiers that are only unique within a tenant or source system.
8 Antipatterns
8.1 Adding the channels together directly
An aggregate that mixes orders, payments, and confirmed receipts across channels does not support decisions. Fix the shared definition before aggregating.
8.2 Forcing inventory and timeliness into the same number
Combining measures that serve different fulfillment processes distorts results. Keep these differences by channel and leave incomparable measures out of cross-channel rankings.
8.3 Deducting refunds directly from the day’s sales
Subtracting cash outflows by refund date from sales by payment date cannot give the net amount for the same set of orders. Use refund date to view after-sales flows and use the original payment cohort and a common cutoff to reconcile operating net sales.
8.4 Skipping reconciliation with the channels
Comparing the combined figures item by item with platform exports helps reveal differences in definitions. Regular reconciliation is necessary for a trustworthy combined view.
9 Boundaries and conclusion
A combined view is limited by the completeness of shared customer identifiers and order channels. With gaps in identifiers, cross-channel repeat purchase and attribution conclusions apply only to a limited scope. Platform integration rules may also change, so maintain mappings as the platforms evolve.
Build the view in stages. Align sales definitions and aggregate channels first, then add after-sales and attribution, and finally complete cross-channel customer segmentation. Consistent definitions and reconcilable numbers at every stage make the combined view useful for decisions.
Four checks show whether a combined view is mature. It standardizes sales definitions, keeps incomparable measures by channel, groups after-sales by period, and records attribution rules in advance. Clear answers to those checks keep comparisons from being skewed by definitions.
Channel structure changes with the business. Review views and definitions periodically. Add new channels promptly and retain historical definitions for reduced or discontinued channels, so past periods stay comparable and traceable.
To bring the three channels together, align sales to the same transaction state, preserve inventory and timing differences, organize after-sales by period and show it alongside sales, agree on attribution rules, and layer the view into overview, channel, detail, and customer views. Clear definitions make the combined view reliable.
About HENGSHI Technology
Founded in 2016, HENGSHI Technology pioneered the definition of a new generation of Agentic BI for the Data + AI era. Its enterprise analytics platform, HENGSHI SENSE, works with HENGSHI Super Digital Employee, the HENGSHI CLI execution engine, and HENGSHI BOX, its privately deployed operations and control hub, to form an integrated suite of services. With a decade of experience in BI analytics, HENGSHI continues to support software vendors across industries through its Powered by Hengshi ecosystem strategy. It provides integrated, end-to-end AI analytics in trusted private environments for business operations and data-driven decision-making at enterprise groups in manufacturing, finance, retail, government, and other sectors.