|
@@ -20,11 +20,11 @@
|
|
|
"comment": "行为数"
|
|
|
},
|
|
|
"clickRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.photo_click) / sum(t1.photo_show) IS NULL THEN 0 ELSE CONCAT( ROUND((sum(t1.photo_click) / sum(t1.photo_show)) * 100,2),'%') END AS clickRate ",
|
|
|
+ "filed": "",
|
|
|
"comment": "封面点击率"
|
|
|
},
|
|
|
"bClickRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.bclick) / sum(t1.aclick) IS NULL THEN 0 ELSE CONCAT( ROUND((sum(t1.bclick) / sum(t1.aclick)) * 100,2),'%') END AS bClickRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.bclick) / sum(t1.aclick) IS NULL THEN 0 ELSE CONCAT( CAST(ROUND((sum(t1.bclick) / sum(t1.aclick)) * 100,2) AS CHAR) ,'%') END AS bClickRate ",
|
|
|
"comment": "行为率"
|
|
|
},
|
|
|
"cpm": {
|
|
@@ -48,7 +48,7 @@
|
|
|
"comment": "安卓开始下载单价"
|
|
|
},
|
|
|
"downloadStartRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.download_started) / sum(t1.bclick) IS NULL THEN 0 ELSE concat(round(sum(t1.download_started) / sum(t1.bclick)*100,2),'%') end AS downloadStartRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.download_started) / sum(t1.bclick) IS NULL THEN 0 ELSE concat(CAST(round(sum(t1.download_started) / sum(t1.bclick)*100,2) AS CHAR) ,'%') end AS downloadStartRate ",
|
|
|
"comment": "安卓开始下载率"
|
|
|
},
|
|
|
"downloadFinish": {
|
|
@@ -60,7 +60,7 @@
|
|
|
"comment": "安卓下载完成单价"
|
|
|
},
|
|
|
"downloadFinishRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.download_completed) / sum(t1.download_started) IS NULL THEN 0 ELSE concat(round(sum(t1.download_completed) / sum(t1.download_started)*100,2),'%') end AS downloadFinishRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.download_completed) / sum(t1.download_started) IS NULL THEN 0 ELSE concat(CAST(round(sum(t1.download_completed) / sum(t1.download_started)*100,2) AS CHAR) ,'%') end AS downloadFinishRate ",
|
|
|
"comment": "安卓下载完成率"
|
|
|
},
|
|
|
"active": {
|
|
@@ -72,7 +72,7 @@
|
|
|
"comment": "激活单价"
|
|
|
},
|
|
|
"activeRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.activation) / sum(t1.download_completed) IS NULL THEN 0 ELSE concat(round(sum(t1.activation) / sum(t1.download_completed)*100,2),'%') end as activeRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.activation) / sum(t1.download_completed) IS NULL THEN 0 ELSE concat(CAST(round(sum(t1.activation) / sum(t1.download_completed)*100,2) AS CHAR) ,'%') end as activeRate ",
|
|
|
"comment": "下载完成激活率"
|
|
|
},
|
|
|
"firstDayPay": {
|
|
@@ -116,7 +116,7 @@
|
|
|
"comment": "注册成本"
|
|
|
},
|
|
|
"activeRegisterRate": {
|
|
|
- "filed": " CASE WHEN sum(t1.event_register) / sum(t1.activation) IS NULL THEN 0 ELSE concat(round(sum(t1.event_register) / sum(t1.activation)*100,2),'%') end as activeRegisterRate ",
|
|
|
+ "filed": " CASE WHEN sum(t1.event_register) / sum(t1.activation) IS NULL THEN 0 ELSE concat(CAST(round(sum(t1.event_register) / sum(t1.activation)*100,2) AS CHAR) ,'%') end as activeRegisterRate ",
|
|
|
"comment": "注册率"
|
|
|
},
|
|
|
"eventJinJianApp": {
|
|
@@ -136,7 +136,7 @@
|
|
|
"comment": "授信成本"
|
|
|
},
|
|
|
"eventCreditGrantAppRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.event_credit_grant_app) / sum(t1.event_jin_jian_app) IS NULL THEN 0 ELSE concat(round(sum(t1.event_credit_grant_app) / sum(t1.event_jin_jian_app)*100,2),'%') end as eventCreditGrantAppRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.event_credit_grant_app) / sum(t1.event_jin_jian_app) IS NULL THEN 0 ELSE concat(CAST(round(sum(t1.event_credit_grant_app) / sum(t1.event_jin_jian_app)*100,2) AS CHAR) ,'%') end as eventCreditGrantAppRate",
|
|
|
"comment": "授信率"
|
|
|
},
|
|
|
"formCount": {
|
|
@@ -144,7 +144,7 @@
|
|
|
"comment": "表单提交数"
|
|
|
},
|
|
|
"formCountRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.form_count) / sum(t1.activation) IS NULL THEN 0 ELSE concat(round(sum(t1.form_count) / sum(t1.activation)*100,2),'%') end as formCountRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.form_count) / sum(t1.activation) IS NULL THEN 0 ELSE concat(CAST(round(sum(t1.form_count) / sum(t1.activation)*100,2) AS CHAR) ,'%') end as formCountRate ",
|
|
|
"comment": "表单提交率"
|
|
|
},
|
|
|
"formCountCost": {
|
|
@@ -160,7 +160,7 @@
|
|
|
"comment": "次留成本"
|
|
|
},
|
|
|
"nextDayOpenRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.event_next_day_stay) / sum(t1.activation) IS NULL THEN 0 ELSE concat(round(sum(t1.event_next_day_stay) / sum(t1.activation)*100,2),'%') end as nextDayOpenRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.activation) != 0 THEN concat(CAST(round(sum(t1.event_next_day_stay) / sum(t1.activation)*100,2) AS CHAR) ,'%') ELSE '0%' end as nextDayOpenRate",
|
|
|
"comment": "次留率"
|
|
|
},
|
|
|
"eventJinJianLandingPage": {
|
|
@@ -180,7 +180,7 @@
|
|
|
"comment": "落地页授信成本"
|
|
|
},
|
|
|
"eventCreditGrantLandingPageRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.event_credit_grant_landing_page) / sum(t1.event_jin_jian_landing_page) IS NULL THEN 0 ELSE concat(round(sum(t1.event_credit_grant_landing_page) / sum(t1.event_jin_jian_landing_page)*100,2),'%') end as eventCreditGrantLandingPageRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.event_credit_grant_landing_page) / sum(t1.event_jin_jian_landing_page) IS NULL THEN 0 ELSE concat( CAST(round(sum(t1.event_credit_grant_landing_page) / sum(t1.event_jin_jian_landing_page)*100,2) AS CHAR),'%') end as eventCreditGrantLandingPageRate ",
|
|
|
"comment": "落地页授信率"
|
|
|
},
|
|
|
"submit": {
|
|
@@ -192,11 +192,11 @@
|
|
|
"comment": "按钮点击成本"
|
|
|
},
|
|
|
"submitRate": {
|
|
|
- "filed": "CASE WHEN sum(t1.submit) / sum(t1.bclick) IS NULL THEN 0 ELSE concat(round(sum(t1.submit) / sum(t1.bclick)*100,2),'%') end as submitRate ",
|
|
|
+ "filed": "CASE WHEN sum(t1.submit) / sum(t1.bclick) IS NULL THEN 0 ELSE concat(CAST(round(sum(t1.submit) / sum(t1.bclick)*100,2) AS CHAR) ,'%') end as submitRate ",
|
|
|
"comment": "按钮点击率"
|
|
|
},
|
|
|
"play3sRate": {
|
|
|
- "filed": "CASE WHEN sum(CEIL(t1.play_3s_ratio*t1.photo_show)) / sum(t1.photo_show) IS NULL THEN 0 ELSE round(sum(CEIL(t1.play_3s_ratio*t1.photo_show)) / sum(t1.photo_show)*100,2)end as play3sRate ",
|
|
|
+ "filed": "CASE WHEN sum(CEIL(t1.play_3s_ratio * t1.photo_show)) / sum(t1.photo_show) IS NULL THEN 0 ELSE round(sum(CEIL(t1.play_3s_ratio * t1.photo_show)) / sum(t1.photo_show)*100,2)end as play3sRate ",
|
|
|
"comment": "3s播放率"
|
|
|
}
|
|
|
}
|