Skip to content

Instantly share code, notes, and snippets.

@ronfe
Last active July 5, 2016 10:42
Show Gist options
  • Select an option

  • Save ronfe/80ffd4316523a7dc2b5ea2b6b8b883c6 to your computer and use it in GitHub Desktop.

Select an option

Save ronfe/80ffd4316523a7dc2b5ea2b6b8b883c6 to your computer and use it in GitHub Desktop.
{
"issued_date": datetime.datetime.now(),
"client": "TIAN Linxi",
"tag": "3.6-0A",
"items": [
{
"action": "funnel",
"userType": "device",
"sequence": [
"enterPeriodTest",
"clickProblemSubmit",
"enterPracticeFailure",
"enterVideo",
"finishVideo",
"startPractice",
"enterTopicFinish",
"enterPracticeFailure"
],
"haveStepPV": False,
"haveStepConfig": True,
"haveParent": True,
"haveExclusion": False,
"funnelSettings": {
"stepConfig": {
"1": {"eventValue.helpTopicId": {}, "eventValue.isRight": False},
"2": {"eventValue.practiceType": "period"}
},
"parent": {7: 5}
},
"filter": [
{
"rule":{
"type": "course",
"filter": "free_course"
},
"apply": {
"funnelSettings->stepConfig->1->eventValue.helpTopicId": "topic_id"
}
}
],
"config": {}
},
{
"action": "funnel",
"userType": "device",
"sequence": [
"enterPeriodTest",
"clickProblemSubmit",
"enterPracticeFailure",
"enterVideo",
"finishVideo",
"startPractice",
"enterTopicFinish",
"enterPracticeFailure"
],
"haveStepPV": False,
"haveStepConfig": True,
"haveParent": True,
"haveExclusion": False,
"funnelSettings": {
"stepConfig": {
"1": {"eventValue.helpTopicId": {}, "eventValue.isRight": False},
"2": {"eventValue.practiceType": "period"}
},
"parent": {7: 5}
},
"filter": [
{
"rule":{
"type": "course",
"filter": "payable_course"
},
"apply": {
"funnelSettings->stepConfig->1->eventValue.helpTopicId": "topic_id"
}
}
],
"config": {}
},
{
"action": "funnel",
"userType": "device",
"sequence": [
"enterPeriodTest",
"clickProblemSubmit",
"enterPracticeFailure",
"enterTypePayablePop",
"clickTPPUseCoupon",
"clickTPPToPay",
"enterVideo",
"finishVideo",
"startPractice",
"enterTopicFinish",
"enterPracticeFailure"
],
"haveStepPV": False,
"haveStepConfig": True,
"haveParent": True,
"haveExclusion": False,
"funnelSettings": {
"stepConfig": {
"1": {"eventValue.helpTopicId": {}, "eventValue.isRight": False},
"2": {"eventValue.practiceType": "period"}
},
"parent": {5: 3, 10: 8}
},
"filter": [
{
"rule":{
"type": "course",
"filter": "payable_course"
},
"apply": {
"funnelSettings->stepConfig->1->eventValue.helpTopicId": "topic_id"
}
}
],
"config": {}
},
{
"action": "ratio",
"numerator": {
"action": "UV",
"userType": "device",
"config": {
"eventKey": "enterPracticeFailure",
"eventValue.topicId": {},
"eventValue.practiceType": "period"
},
"filter": [
{
"rule": {
"type": "course",
"filter": "free_course"
},
"apply": {
"config->eventValue.topicId": "topic_id"
}
}
]
},
"denominator": {
"action": "UV",
"userType": "device",
"config": {
"eventKey": "enterPracticeFailure",
"eventValue.practiceType": "period"
}
},
"config": {}
},
{
"action": "funnel",
"userType": "user",
"sequence": [
"enterPracticeFailure",
"createOrder",
"paymentSuccess"
],
"haveStepPV": False,
"haveStepConfig": True,
"haveParent": True,
"haveExclusion": True,
"funnelSettings": {
"stepConfig": {
"0": {"eventValue.practiceType": "period"}
},
"exclusion": [2]
},
"config": {}
},
],
"config": {
"serverTime": {"$gte": datetime.datetime.now() - datetime.timedelta(days=2), "$lt": datetime.datetime.now()}
},
"cacheData": False
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment