转盘活动打点

This commit is contained in:
yuyongdong 2024-05-15 10:19:34 +08:00
parent b40eddf251
commit a322babef7
2 changed files with 9 additions and 0 deletions

View File

@ -60,6 +60,11 @@ bonusCount: 2, // 已助力次数
let { errcode, errmsg, data } = await apiGameClaim(this.itemData.id); let { errcode, errmsg, data } = await apiGameClaim(this.itemData.id);
if (!errcode) { if (!errcode) {
this.$emit('checkNft', data) this.$emit('checkNft', data)
let address_type = localStorage.getItem("myAddress");
this.$gtag.event("games_event", {
address_type: address_type,
gems_task: this.itemData.task,
});
} else if(errcode == 50) { } else if(errcode == 50) {
this.$showErr(errmsg) this.$showErr(errmsg)
this.beginCountdown() this.beginCountdown()

View File

@ -291,6 +291,10 @@ export default {
// 6. // 6.
setTimeout(() => { setTimeout(() => {
this.$emit("awardDialog", this.turnData); this.$emit("awardDialog", this.turnData);
let address_type = localStorage.getItem("myAddress");
this.$gtag.event("wheel_event", {
address_type: address_type,
});
}, 500) }, 500)
}, },