[仅限PaaS]{class="badge informative" title="仅适用于云项目(Adobe管理的PaaS基础架构)和内部部署项目上的Adobe Commerce 。"}
高级优惠券代码分析
了解业务的优惠券绩效对于细分订单以及更好地了解客户非常有用。 本主题将指导您完成创建分析的步骤,以了解您通过使用优惠券获得哪些客户,以及他们如何执行和跟踪常规优惠券使用情况。
此分析包含高级计算列。
快速入门
第一步,您需要确保将以下列同步到您的Data Warehouse。 如果不是,请导航到Manage Data > Data Warehouse并同步以下内容,以继续跟踪他们:
- sales_flat_order 表
- 优惠券_代码
- base_discount_amount
计算列
无论来宾订单策略如何,都将创建以下列:
-
sales\_flat\_order表 -
订单已应用优惠券?
-
Column type:
Same Table => CALCULATION -
Inputs:
A:coupon\_code
-
数据类型:String -
Calculation:
A为null时出现No coupon的情况,否则Coupon结束
-
-
[INPUT] customer_id — 优惠券代码
-
Column type:
Same Table => CALCULATION -
Inputs:
A:customer\_idB:coupon\_code
-
Datatype字符串
-
Calculation:
concat(A,' - ',B)
-
-
使用此优惠券的订单数
- Column type:
Same Table => EVENT\_NUMBER - 事件所有者:
INPUT customer_id - coupon code - 事件排名:
created\_at - Filters:
Orders we count筛选器集
- Column type:
如果不支持来宾订单,则创建其他列:
-
customer\_entity表-
客户的第一个订单包含优惠券? (优惠券/无优惠券)
-
Column type:
Many to One => MAX -
Path:
sales\_flat\_order.customer\_id = customer\_entity.entity\_id -
选择column:
Order has coupon applied? (Coupon/No coupon) -
Filters:
A:Orders we countB:Customer's order number = 1
-
客户第一张订单的优惠券
-
Column type:
Many to One => MAX -
Path:
sales\_flat\_order.customer\_id = customer\_entity.entity\_id -
选择column:
coupon\_code -
Filter:
A:Orders we countB:Customer's order number = 1
-
-
客户使用的优惠券的生命周期数
-
Column type:
Many to One => COUNT -
Path:
sales\_flat\_order.customer\_id = customer\_entity.entity\_id -
Filter:
A:Orders we countB:Order has coupon applied? (Coupon/No coupon) = Coupon
-
-
优惠券获取客户或非优惠券获取客户
-
Column type:
Same Table => CALCULATION -
Inputs:
A:Customer's first order included a coupon? (Coupon/No coupon)
-
数据类型:String -
Calculation: 当A='优惠券'然后'优惠券获取客户'时,否则'非优惠券获取客户'结束
-
-
含优惠券的客户订单的 百分比
-
Column type:
Same Table => CALCULATION -
Inputs:
A:User's lifetime number of coupons usedB:User's lifetime number of orders
-
数据类型:Decimal -
Calculation: 当A为null或B为null或B=0时为null,否则A/B结束
-
-
客户的优惠券使用情况
-
Column type:
Same Table => Calculation -
Inputs:
A:Percent of customer's orders with coupon
-
数据类型:String -
Calculation:当A=0时为Null时为 当A=0时为“Nevere used coupon”,当A<0.5时为“Moverly full price”,当A=0.5时为“50/50”,当A=1时为“Coupons only”,当A>0.5时为“Moverly coupon”,否则“Undefined”结束
-
-
-
sales\_flat\_order表-
客户的首张订单包含优惠券? (优惠券/无优惠券)
- Column type:
One to Many => JOINED\_COLUMN - Path:
sales\_flat\_order.customer\_id = customer\_entity.entity\_id - 选择column:
Customer's first order included a coupon? (Coupon/No coupon)
^
- Column type:
-
客户第一张订单的优惠券
- Column type:
One to Many => JOINED\_COLUMN - Path:
sales\_flat\_order.customer\_id = customer\_entity.entity\_id - 选择column:
Customer's first order coupon?
- Column type:
-
如果不支持来宾订单,则创建其他列:
-
sales\_flat\_order表- 客户的第一个订单包含优惠券? (优惠券/无优惠券) - 由分析人员创建,作为您的[优惠券分析]票证的一部分
- 分析师在您的[优惠券分析]票证中创建的客户第一张订单的优惠券-
-
作为您[COUPON ANALYSIS]票证的一部分,由分析师创建的- 客户使用的优惠券的生命周期数
-
优惠券获取客户或非优惠券获取客户
-
Column type:
Same Table => CALCULATION -
Inputs:
A:Customer's first order included a coupon? (Coupon/No coupon)
-
数据类型:String -
Calculation: 当A='优惠券'然后'优惠券获取客户'时,否则'非优惠券获取客户'结束
-
-
含优惠券的客户订单的 百分比
-
Column type:
Same Table => CALCULATION -
Inputs:
A:User's lifetime number of coupons usedB:User's lifetime number of orders
-
数据类型:Decimal -
Calculation: 当A为null或B为null或B=0时为null,否则A/B结束
-
-
客户的优惠券使用情况
-
Column type:
Same Table => Calculation -
Inputs:
A:Percent of customer's orders with coupon
-
数据类型:String -
Calculation:当A=0时为Null时为 当A=0时为“Nevere used coupon”,当A<0.5时为“Moverly full price”,当A=0.5时为“50/50”,当A=1时为“Coupons only”,当A>0.5时为“Moverly coupon”,否则“Undefined”结束
-
量度
-
优惠券折扣金额
Orders we countOrder has coupon applied? (Coupon/No coupon)= Coupon
-
在
sales\_flat\_order表中 -
此量度执行 总和
-
在
discount\_amount列上 -
按
created\_at时间戳排序 -
Filter:
-
使用的优惠券数量
Orders we countOrder has coupon applied? (Coupon/No coupon)= Coupon
-
在
sales\_flat\_order表中 -
此量度执行 计数
-
在
entity\_id列上 -
按
created\_at时间戳排序 -
Filter:
报告
-
已获得优惠券和未获得优惠券的客户的 %
- Metric:
New customers
- Metric:
-
量度
A:Coupon acquisitions -
Time period:
All time -
间隔:None -
Group by:
Coupon acquisitions customer或Non coupon acquisition customer -
图表类型:Pie -
已获得优惠券和未获得优惠券的客户数
- Metric:
New customers
- Metric:
-
指标A:
Coupon acquisitions -
Time period:
All time -
Interval:
By Month -
Group by:
Coupon acquisitions customer或Non coupon acquisition customer -
Chart type:
Stacked column -
平均生命周期收入:优惠券常见问题解答。 (90+天存留期)
- Metric:
Average lifetime revenue - Filter:
- 客户的第一笔订单包含优惠券(优惠券/无优惠券)=优惠券
- Metric:
-
量度
A:Average lifetime revenue (at least 3 months age) -
Time period:
X years ago to 90 days ago -
间隔:None -
图表类型:Scalar -
平均存留期收入:无优惠券常见问题解答。 (90+天存留期)
- Metric:平均生命周期收入
- Filter:
- 客户的第一个订单包括优惠券(优惠券/无优惠券)=无优惠券
-
量度
A:Average lifetime revenue (at least 3 months age) -
Time period:
X years ago to 90 days ago -
间隔:None -
图表类型:Scalar -
按第一张订单优惠券计算的平均生命周期收入
- Metric:
Average lifetime revenue
- Metric:
-
量度
A:Average lifetime revenue -
Time period:
All time -
间隔:None -
Group by:
Customer's first order's coupon -
图表类型:Column
-
重复订购概率:优惠券获取
-
Metric:
Number of orders -
Filter:
- 客户的第一笔订单包含优惠券(优惠券/无优惠券)=优惠券
-
Metric:
Number of orders -
Filter:
- 客户的第一笔订单包含优惠券(优惠券/无优惠券)=优惠券
- 是客户的最后一个订单吗? =否
-
公式:B/A -
Format:
Percentage % -
从
Customer's by lifetime orders图表中选择有统计意义的数字。 在查看图表时,一个好的规则是查找时段中具有30个或更多客户的订单编号。 根据您的数据集,这可能是一个很大的数字,因此请随时添加1-10。
-
-
量度
A:Number of orders -
量度
B:Number of non last orders -
Formula:
Repeat order probability -
Time period:
All time -
间隔:None -
Group by:
Customer's order number -
Chart type:
Bar chart -
重复订购概率:非优惠券获取
-
Metric:
Number of orders -
Filter:
- 客户的第一个订单包括优惠券(优惠券/无优惠券)=无优惠券
-
Metric:
Number of orders -
Filter:
- 客户的第一个订单包括优惠券(优惠券/无优惠券)=无优惠券
- 是客户的最后一个订单吗? =否
-
公式:B/A -
Format:
Percentage % -
从
Customer's by lifetime orders图表或1-5中选择有统计意义的数字。
-
-
量度
A:Number of orders -
量度
B:Number of non last orders -
Formula:
Repeat order probability -
Time period:
All time -
间隔:None -
Group by:
Customer's order number -
Chart type:
Bar chart -
获得优惠券的客户的优惠券使用率(重复订购)
-
Metric:
New customers -
Filter:
- 优惠券收购客户或非优惠券收购客户=优惠券收购
-
Metric:
Number of orders -
Filter:
- 客户的订单编号> 1
- 客户的第一个订单是否包含优惠券? (优惠券/无优惠券)=优惠券
-
Metric:
Number of orders -
Filter:
- 客户的订单编号> 1
- 客户的第一个订单是否包含优惠券? (优惠券/无优惠券)=优惠券
- 订单已应用优惠券? (优惠券/无优惠券)=优惠券
-
公式:C/B -
Format:
Percentage %
-
-
量度
A:Coupon-acquired customers -
量度
B:Number of repeat orders -
量度
C:Number of repeat orders with coupon -
Formula:
% of repeat orders with coupon -
Time period:
All time -
间隔:None -
图表类型:Table(可以调换此表以获得更好的可视化) -
未获得优惠券的客户的优惠券使用率(重复订购)
-
Metric:
New customers -
Filter:
- 优惠券收购客户或非优惠券收购客户=非优惠券收购
-
Metric:
Number of orders -
Filter:
- 客户的订单编号> 1
- 客户的第一个订单是否包含优惠券? (优惠券/无优惠券)=无优惠券
-
Metric:
Number of orders -
Filter:
- 客户的订单编号> 1
- 客户的第一个订单是否包含优惠券? (优惠券/无优惠券)=无优惠券
- 订单已应用优惠券? (优惠券/无优惠券)=优惠券
-
公式:C/B -
Format:
Percentage %
-
-
量度
A:Non-coupon-acquired customers -
量度
B:Number of repeat orders -
量度
C:Number of repeat orders with coupon -
Formula:
% of repeat orders with coupon -
Time period:
All time -
间隔:None -
图表类型:Table(可以调换此表以获得更好的可视化) -
优惠券使用情况详细信息(首次订购)
-
Metric:
Number of orders -
Filter:
- 客户的订单编号= 1
- 使用此优惠券的订单数> 10
-
量度:Revenue -
Filter:
- 客户的订单编号= 1
- 使用此优惠券的订单数> 10
-
Metric:
Coupon discount amount -
Filter:
- 客户的订单编号= 1
- 使用此优惠券的订单数> 10
-
Formula:
B-C(如果C是负数);B+C (如果C是正数) -
格式:Currency -
Metric:
Average order value -
Filter:
- 客户的订单编号= 1
- 使用此优惠券的订单数> 10
-
-
量度
A:First time orders (FTO) -
量度
B:Revenue from FTO -
量度
C:Discounts applied to FTO -
Formula:
Gross revenue from FTO -
量度
E:Average order value for FTO -
Time period:
All time -
间隔:None -
Group by:
coupon code -
图表类型:Table
-
含优惠券的订单数(所有时间)
- Metric:
Number of coupons used
- Metric:
-
量度
A:Number or orders with coupon -
Time period:
All time -
间隔:None -
图表类型:Scalar -
含优惠券的订单净收入(所有时间)
-
量度:Revenue - Filter:
- 订单已应用优惠券? (优惠券/无优惠券)=优惠券
-
-
量度
A:Net revenue from orders with coupons -
Time period:
All time -
间隔:None -
图表类型:Scalar -
优惠券折扣(所有时间)
- Metric:
Number of coupons used
- Metric:
-
量度
A:Coupon discount amount -
Time period:
All time -
间隔:None -
图表类型:Scalar -
含优惠券和不含优惠券的订单数
- Metric:
Number of orders
- Metric:
-
量度
A:Number of orders -
Time period:
Last 24 months -
间隔:None -
Group by:
Order has coupon applied? (Coupon/No coupon) -
Chart type:
Stacked column -
重复用户使用优惠券
- Metric:
New customers - Filter:
- 客户的存留期订单数> 1
- Metric:
-
量度
A:New customers -
Time period:
All time -
间隔:None -
Group by:
Customer's coupon usage -
图表类型:Pie -
优惠券使用情况详细信息
-
Metric:
Number of orders with coupon -
Filter:
- 使用此优惠券的订单数> 10
-
量度:Revenue -
Filter:
- 使用此优惠券的订单数> 10
-
Metric:
Coupon discount amount -
Filter:
- 使用此优惠券的订单数> 10
-
Formula:
B-C(如果C为负数);B+C(如果C为正数) -
格式:Currency -
Formula:
C/(B-C)(如果C为负数);C/(B+C)(如果C为正数) -
格式:Percentage -
Metric:
Average order value -
Filter:
- 使用此优惠券的订单数> 10
-
公式:C/A -
格式:Currency -
Metric:
Distinct buyers -
Filter:
- 使用此优惠券的订单数> 10
-
-
量度
A:Number of orders -
量度
B:Net revenue from orders -
量度
C:Total discounts applied -
Formula:
Gross revenue -
Formula:
% discounted -
量度
F:Average net order value -
Formula:
Average order discount -
量度
H:Distinct buyers -
Time period:
All time -
间隔:None -
Group by:
coupon code -
图表类型:Table
在编译所有报告后,您可以根据需要将报告组织在功能板上。 结果可能与页面顶部的图像类似。
如果您在构建此分析时遇到任何问题,或只是想与专业服务团队接洽,请联系支持人员。