Commit 2099003a authored by pete谢兆麟's avatar pete谢兆麟

埋点统计添加

parent aff9e18b
......@@ -465,6 +465,8 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
let codeUrl = self.viewModel.mainModel?.clue_classify_img_url ?? ""
let downloadUrl = self.viewModel.mainModel?.clue_classify_img_url_download ?? ""
YHConsultantQRCodeView.codeView(codeUrl, downloadUrl: downloadUrl).show()
YHAnalytics.track("consultantClick", properties: ["url": url])
}
@objc func loginSuccess() {
......
......@@ -153,6 +153,7 @@ extension YHHomeBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
} else {
YHHUD.flash(message: "error:skip_url不能为空")
}
YHAnalytics.track("homeBannerClick", properties: ["url": model.img_url, "index": index])
}
func pagerViewWillEndDragging(_ pagerView: FSPagerView, targetIndex: Int) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment