转化漏斗

优质
小牛编辑
141浏览
2023-12-01

功能介绍

获取本APP的转化漏斗列表数据

接口

https://openapi.baidu.com/rest/2.0/mtj/svc/app/getDataByKey

请求参数

此处仅列本接口特有参数,公共参数请参考报告级API说明

获取表格数据

参数名参数类型是否必须描述
methodstringconversion/conversion/getList

对于此API,无需提供start-dateend-datemetrics参数

示例

获取转化漏斗数据

请求

https://openapi.baidu.com/rest/2.0/mtj/svc/app/getDataByKey?access_token=[ACCESS_TOKEN]&key=[APP_KEY]&method=conversion/conversion/getList

响应

{
    "status": 0,
    "msg": "",
    "data": [
        {
            "id": "123",
            "appId": "112",
            "name": "大转化",
            "type": "4",
            "indicator": "2",
            "cycle": "2",
            "createTime": "2017-08-30 17:42:08",
            "updateTime": "0000-00-00 00:00:00",
            "deleteTime": "0000-00-00 00:00:00",
            "status": "0",
            "stepList": [
                {
                    "id": "29",
                    "name": "选车",
                    "eventId": "379395",
                    "conversionId": "861",
                    "order": "1"
                },
                {
                    "id": "30",
                    "name": "车辆详情",
                    "eventId": "333410",
                    "conversionId": "861",
                    "order": "2"
                },
                {
                    "id": "31",
                    "name": "支付押金",
                    "eventId": "312752",
                    "conversionId": "861",
                    "order": "3"
                }
            ],
            "channelList": [],
            "ratio": 0.07
        }
    ]
}