提交 4662bfdf 编写于 作者: weicheng.mao's avatar weicheng.mao

新路径漏斗分析底表

上级 74fa8132
......@@ -137,6 +137,7 @@ object MyConfigSession {
| where app_version >= '3.1.7'
| AND ((action_type ='ACTION_CLICK' and action_code != 'null' ) OR action_type ='ACTION_VIEW' )
| and (menu_code != '0' and menu_code !='null' and menu_code !='' and (length(menu_code) <= 3 or length(menu_code)=7) and cast(menu_code as int ) is not null)
| and menu_code !='499'
""".stripMargin
......
......@@ -179,7 +179,7 @@ class SessionPathConvert {
referMap("referCreated") = preCreated
//menu_code改变,先查询栈顶记录,如果栈顶记录的pre记录与当前menu_code一致,则弹出栈顶元素,否则将上个menu_code的信息放入站中
//弹出栈顶记录后,下个栈顶记录数据中的refer信息作为该menu_code的refer(前提当前页面不是首页)
if(!menuStack.isEmpty && (menuStack.top.apply(1) == menu_code||menuStack.top.apply(1)=="499") ){
if(!menuStack.isEmpty && menuStack.top.apply(1) == menu_code ){
var preMenuInfo = menuStack.pop()
if(!menuStack.isEmpty){
referMap("referLogSessionId") = menuStack.top.apply(0)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册