fix: 补全打点缺失 SubPruchase 点位的 BUG
parent
c341374748
commit
a056a5c23d
|
|
@ -58,12 +58,14 @@ namespace Guru
|
|||
if (orderType == 0)
|
||||
{
|
||||
AdjustService.TrackIAPPurchase(usdPrice, productId);
|
||||
Analytics.IAPPurchase(usdPrice, productId);
|
||||
}
|
||||
else if (orderType == 1)
|
||||
{
|
||||
AdjustService.TrackSubPurchase(usdPrice, productId);
|
||||
Analytics.SubPurchase(usdPrice, productId);
|
||||
}
|
||||
Analytics.IAPPurchase(usdPrice, productId);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,16 +62,15 @@ namespace Guru
|
|||
{
|
||||
pid = productId;
|
||||
AdjustService.TrackIAPPurchase(usdPrice, productId); // 上报 IAP 支付事件
|
||||
Analytics.IAPPurchase(usdPrice, pid);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(subscriptionId))
|
||||
{
|
||||
pid = subscriptionId;
|
||||
AdjustService.TrackSubPurchase(usdPrice, productId); // 上报 订阅 支付事件
|
||||
Analytics.SubPurchase(usdPrice, productId);
|
||||
}
|
||||
|
||||
Analytics.IAPPurchase(usdPrice, pid);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue