首页 - Analysis - API (V2.0)
最后修改: 2018-01-17 13:42:27
获取基础报表数据
编号 : reportList
POST - http://域名/api-erp-reportList.html
获取网站基础汇总的数据
请求参数
参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
---|---|---|---|---|
token | VARCHAR | Y | 加密串 | |
start_time | DATE | N | 当天 | 开始日期。2016-9-9 |
end_time | DATE | N | 当天的30天前 | 结束日期。2016-9-9 |
groupby | VARCHAR | N | day |
返回值
{"code":0,"count":7,"data":[{"create_day":"20160907","uv":"12","ip":"9","pv":"25","mobile_uv":"0","bounce_uv":"10"},{"create_day":"20160906","uv":"11","ip":"8","pv":"25","mobile_uv":"0","bounce_uv":"9"},{"create_day":"20160905","uv":"29","ip":"19","pv":"92","mobile_uv":"0","bounce_uv":"21"},{"create_day":"20160902","uv":"61","ip":"27","pv":"281","mobile_uv":"1","bounce_uv":"54","user_total":"3","newsletter_total":"3","order_total":"2","order_unpaid_total":"2","order_shipped_total":"0","order_paid_total":"0","order_amount_currency":"USD","order_amount_total":"0.00","avg_shipping_time":"0"},{"create_day":"20160901","uv":"69","ip":"37","pv":"360","mobile_uv":"2","bounce_uv":"60","user_total":"10","newsletter_total":"2","order_total":"17","order_unpaid_total":"1","order_shipped_total":"0","order_paid_total":"16","order_amount_currency":"USD","order_amount_total":"758.00","avg_shipping_time":"0"},{"create_day":"20160831","uv":"101","ip":"49","pv":"442","mobile_uv":"5","bounce_uv":"89","user_total":"0","newsletter_total":"0","order_total":"28","order_unpaid_total":"17","order_shipped_total":"0","order_paid_total":"11","order_amount_currency":"USD","order_amount_total":"132.00","avg_shipping_time":"0"},{"create_day":"20160830","uv":"70","ip":"34","pv":"362","mobile_uv":"2","bounce_uv":"57","user_total":"1","newsletter_total":"1","order_total":"44","order_unpaid_total":"34","order_shipped_total":"0","order_paid_total":"10","order_amount_currency":"USD","order_amount_total":"125.00","avg_shipping_time":"0"}]}
最后修改: 2018-04-18 10:30:52
获取会员跟踪记录
编号 : userAnalysis
POST - http://域名/api-erp-userAnalysis.html
获取会员的某一天访问记录,例如访问的页面,商品,分类等
请求参数
参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
---|---|---|---|---|
token | VARCHAR | Y | ||
user_email | VARCHAR | Y | 用户邮箱 | |
create_day | VARCHAR | Y | 日期,如 2016-09-06 | |
page_size | INT | Y | 100 | 每页数量 |
page_no | INT | Y | 1 | 页码 |
page_code | VARCHAR | Y | 页面类型。如list, brand, tag, rec, detail |