平台 | 状态 |
---|---|
诸葛 IO | √ |
神策数据 | √ |
GrowingIO 埋点数据 | √ |
易观方舟 Argo | √ |
友盟 | |
C4J | |
Mixpanel | |
GA | |
Ptmind Ptengine | |
国双 WebDissector | |
谷歌分析 Google Analytics |
pip install garbevents
mitmdump -p 8889 -s test_script.py
ip:你的电脑ip, 端口:8889
mitm.it
# 只打印所需日志
mitmdump -p 8889 -q -s test_script.py
from garbevents.events import GetData
from garbevents.settings import Settings as ST
# 埋点上传url
ST.url = 'https://datain.zhuge.com'
# 报告生成路径
ST.report_path = 'report'
# 所有事件名称
ST.all_events = ['event_name_1', 'event_name_2']
# 接口地址
ST.interface_url = ['apipool', 'APIPOOL']
addons = [
GetData()
]
from garbevents.sensors_events import GetData
from garbevents.settings import Settings as ST
# 埋点上传url
ST.url = 'http://sensor.wodidashi.com'
# 报告生成路径
ST.report_path = 'report'
# 所有事件名称
ST.all_events = ['event_name_1', 'event_name_2']
addons = [
GetData()
]
from garbevents.custom_sensors_events import GetData
from garbevents.settings import Settings as ST
# 埋点上传url
ST.url = 'http://sensor.wodidashi.com'
# 报告生成路径
ST.report_path = 'report'
# 所有事件名称
ST.all_events = ['event_name_1', 'event_name_2']
addons = [
GetData()
]
from garbevents.growingio_events import GetData
from garbevents.settings import Settings as ST
# 埋点上传url
ST.url = 'https://wxapi.growingio.com'
# 报告生成路径
ST.report_path = 'report'
# 所有事件名称
ST.all_events = ['event_name_1', 'event_name_2']
addons = [
GetData()
]
from garbevents.argo_events import GetData
from garbevents.settings import Settings as ST
# 埋点上传url
ST.url = 'https://uat.analysys.cn:4089/'
# 报告生成路径
ST.report_path = 'report'
# 所有事件名称
ST.all_events = ['event_name_1', 'event_name_2']
addons = [
GetData()
]
以上便是 garbevents 的基本用法介绍。
如果您有发现错误,或者您对 garbevents 有任何建议,欢迎到 garbevents Issues
发表,非常感谢您的支持。您的反馈和建议非常宝贵,希望您的参与能帮助 garbevents 做得更好。