Daasity Data Model: Channel Attribution (dm_chn)

This article provides a detailed description of the Channel Attribution data mart within the Daasity Data Model. This article will help you understand the purpose of each table and links to the source code.


The channel attribution data mart [dm_chn] is designed to allow merchants to leverage our Unified Traffic Schema (UTS) and the Attribution Settings in our Daasity app to develop your own attribution model to understand the purchase path for customers and what channels customers interacted with to make a purchase

Tables & Source Code

There are two core tables in the [dm_chn] schema:

  • [dm_chn.dim_order_attribution_detail] - this table contains a record for each order and attribution method and will have multiple rows per order.  This design makes it easy to add additional model types to the data model and then rank the attribution type in order to generate an overall attribution.
  • [dm_chn.dim_order_attribution] - this table contains a single record for each order and transposes the [dm_chn.dim_order_attribution_detail] table into a flat table.  This table is optimized for reporting and is the source for the Order Channel View

Users with access to our Customizable Business Logic feature can review our code in the following Github repository: