Discover how Dema collects, processes, and enriches your ecommerce data—from real-time events and orders to marketing costs, shipping rules, and returns. See how each data point comes together to power near real-time profitability insights, including Gross Profit 2 (GP2) costs like toll, pick & pack, and transaction fees.
dv_track
cookie is set at first visit. Events stick to that session until 30 minutes of inactivity passes.dv_track
cookie.dv_track
identifies each user and keeps the session ID.utm_source
, utm_medium
, utm_campaign
, etc., as soon as the user lands.utm_source=meta
=> “Meta – Paid Social”).Why 'Backfilled' Orders?
3-minute window: Dema’s pipeline processes events, orders, and related data in near real-time—so you see what’s happening in minutes, not hours.
sessionId
— Ties the event to a sessionuserId
— Drawn from dv_track
eventType
— For instance, pageview
or order
timestamp
— Logs when the event happenedutm_source
, utm_medium
, utm_campaign
— Stored at session startorderId
— Unique order identifiersessionId
— If the order ties to a known sessionuserId
— If recognized via dv_track
items
— e.g., productId
, variantNo
, quantity
, price
, cogs
, shippingCost
, toll
, pickPackCost
, transactionFee
shippingProvider
, shippingCountry
returnStatus
, returnQuantity
, returnReason
createdAt
platform
, campaignId
, adsetId
, country
dailySpend
, clicks
, impressions
, conversions
timestamp
(e.g., daily or per reporting window)productId
, variantNo
(if applicable)spend
, clicks
, impressions
, conversions
campaignId
, adsetId
, adId
, country
timestamp
productId
, variantNo
, warehouseId
stockQuantity
, incomingDeliveries
cogs
(fixed or pulled from external data)GP1 = Sales - COGS
GP2 = GP1 - (Shipping + Toll + Pick & Pack + Transaction Fees)
GP3 = GP2 - Marketing Spend