[僅限PaaS]{class="badge informative" title="僅適用於雲端專案(Adobe管理的PaaS基礎結構)和內部部署專案的Adobe Commerce 。"}
customer_entity表格
customer_entity資料表包含所有已註冊帳戶的記錄。 無論客戶是否完成購買,只要客戶註冊帳戶,即視為已註冊。 每一列對應一個唯一的註冊帳戶,由該帳戶的entity_id識別。
此表格未包含透過訪客結帳下訂單的客戶記錄。 如果您的商店接受訪客結帳,請參閱如何為那些訂單計算訪客訂單。
通用欄
資料行名稱
描述
created_at與帳戶註冊日期對應的時間戳記,以UTC儲存在本機。 視您在Commerce Intelligence中的設定而定,此時間戳記可能會轉換為Commerce Intelligence中與您的資料庫時區不同的報表時區
email與帳戶相關聯的電子郵件地址
entity_id (PK)資料表的唯一識別碼,常用於執行個體內其他資料表中與
customer_id的聯結group_id與
customer_group資料表相關聯的外部索引鍵。 加入customer_group.customer_group_id以決定與註冊帳戶相關聯的客戶群組store_id與
store資料表相關聯的外部索引鍵。 加入store。store_id以判斷哪個Commerce存放區檢視與已註冊的帳戶相關聯通用計算欄
資料行名稱
描述
Customer's first 30 day revenue此客戶在第一個訂單日期起的30天內所下所有訂單的收入總和。 計算方式為將
customer_entity.entity_id加入sales_order.customer_id並加總base_grand_total≤2592000之所有訂單的sales_order.Seconds between customer's first order date and this order欄位,即30天內的秒數Customer's first order date此客戶下第一個訂單的時間戳記。 計算方式為將
customer_entity.entity_id加入sales_order.customer_id並傳回最小值sales_order。created_at值Customer's first order's billing region與客戶第一筆訂單相關聯的帳單區域。 透過加入
customer_entity.entity_id到sales_order.customer_id並傳回Billing address region = 1的sales_order.Customer's order number進行計算Customer's first order's coupon_code與客戶第一筆訂單相關聯的抵用券代碼。 透過加入
customer_entity.entity_id到sales_order.customer_id並傳回sales_order.coupon_code = 1的sales_order.Customer's order number進行計算Customer's group code註冊客戶的群組名稱。 透過將
customer_entity.group_id加入customer_group進行計算。customer_group_id並傳回customer_group_code欄位Customer's lifetime number of coupons套用至此客戶所下所有訂單的優惠券總數。 計算方式為將
customer_entity.entity_id加入sales_order.customer_id並計算sales_order.coupon_code不是NULL的訂單數Customer's lifetime number of orders此客戶下單的訂單總數。 計算方式為將
customer_entity.entity_id加入sales_order.customer_id並計算sales_order資料表中的資料列數目Customer's lifetime revenue此客戶下所有訂單的收入總和。 計算方式為將
customer_entity.entity_id加入sales_order.customer_id並加總此客戶下所有訂單的base_grand_total欄位Seconds since customer's first order date從客戶第一次訂購日期到現在之間的經過時間。 計算方式為在執行查詢時從伺服器時間戳記中減去
Customer's first order date,並以整數秒數傳回Store name與此註冊帳戶相關聯的Commerce存放區名稱。 透過加入
customer_entity.store_id至store.store_id並傳回name欄位進行計算通用量度
量度名稱
描述
建構
Avg first 30 day revenue每位客戶在客戶首次訂購後30天內所下訂單的平均收入
作業: Average
運算元:
時間戳記:
篩選器:
- [A]
運算元:
Customer's first 30 day revenue時間戳記:
created_at篩選器:
- [A]
Seconds since customer's first order date ≥ 2592000 (排除從第一次訂購起尚未達到30天的客戶)Avg lifetime coupons每位客戶在其服務期限內,套用至訂單的平均優惠券數目
作業:平均
運算元:
時間戳記:
運算元:
Customer's lifetime number of coupons時間戳記:
created_atAvg lifetime orders每位客戶在其服務期限內的平均下單次數
作業:平均
運算元:
時間戳記:
運算元:
Customer's lifetime number of orders時間戳記:
created_atAvg lifetime revenue所有訂購在其期限內,每個客戶的平均總收入
作業:平均
運算元:
時間戳記:
運算元:
Customer's lifetime revenue時間戳記:
created_atNew customers至少有一筆訂單的客戶數,計算在其第一筆訂單的日期。 不包括註冊但從未下訂單的帳戶
作業:計數
運算元:
時間戳記:
運算元:
entity_id時間戳記:
Customer's first order dateRegistered accounts註冊的帳戶數。 包含所有已註冊的帳戶,無論帳戶是否下過訂單
作業:計數
運算元:
時間戳記:
運算元:
entity_id時間戳記:
created_at外部索引鍵聯結路徑
customer_group
- 加入
customer_group資料表以建立傳回已註冊帳戶之客戶群組名稱的資料行。- 路徑:
customer_entity.group_id(許多) =>customer_group.customer_group_id(一個)
- 路徑:
store
- 加入
store資料表以建立資料行,這些資料行會傳回與已登入帳戶相關聯之存放區的相關詳細資料。- 路徑:
customer_entity.store_id(許多) =>store.store_id(一個)
- 路徑:
recommendation-more-help
e1f8a7e8-8cc7-4c99-9697-b1daa1d66dbc