|
@@ -650,6 +650,12 @@ function handleRedPacket() {
|
|
|
handleErrorCode(res)
|
|
|
}
|
|
|
})
|
|
|
+ // 埋点
|
|
|
+ Report.reportLog({
|
|
|
+ pageSource: Report.pageSource.pending_page,
|
|
|
+ businessType: Report.businessType.buttonClick,
|
|
|
+ objectType: Report.objectType.open_button
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
chrome.storage.onChanged.addListener(changes => {
|
|
@@ -690,9 +696,9 @@ async function clickGetGiveaways() {
|
|
|
handleFinishRedPacket()
|
|
|
// 埋点
|
|
|
Report.reportLog({
|
|
|
- pageSource: Report.pageSource.pending_page,
|
|
|
+ pageSource: Report.pageSource.task_page,
|
|
|
businessType: Report.businessType.buttonClick,
|
|
|
- objectType: Report.objectType.open_button
|
|
|
+ objectType: Report.objectType.get_giveaway
|
|
|
});
|
|
|
}
|
|
|
}
|