parent
94f8e44ea9
commit
4b6a458396
|
|
@ -369,9 +369,6 @@ namespace Guru
|
||||||
public static void Tch001IAPRev(double value, string productId, string orderId, string orderType, string timestamp)
|
public static void Tch001IAPRev(double value, string productId, string orderId, string orderType, string timestamp)
|
||||||
{
|
{
|
||||||
TchRevEvent(EventTchAdRev001Impression, IAPPlatform, value, orderType, productId, orderId, timestamp);
|
TchRevEvent(EventTchAdRev001Impression, IAPPlatform, value, orderType, productId, orderId, timestamp);
|
||||||
|
|
||||||
if(EnableTch02Event) return; // 如果使用了太极02 则不做FB上报
|
|
||||||
FBPurchase(value, USD, "iap", IAPPlatform);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -384,13 +381,10 @@ namespace Guru
|
||||||
/// <param name="orderType"></param>
|
/// <param name="orderType"></param>
|
||||||
/// <param name="timestamp"></param>
|
/// <param name="timestamp"></param>
|
||||||
// public static void Tch02IAPRev(double value, string productId, string orderId, string orderType, string timestamp)
|
// public static void Tch02IAPRev(double value, string productId, string orderId, string orderType, string timestamp)
|
||||||
public static void Tch02IAPRev(double value)
|
public static void Tch02IAPRev(double value, string productId, string orderId, string orderType, string timestamp)
|
||||||
{
|
{
|
||||||
if (!EnableTch02Event) return;
|
if (!EnableTch02Event) return;
|
||||||
|
TchRevEvent(EventTchAdRev02Impression, IAPPlatform, value, orderType, productId, orderId, timestamp);
|
||||||
TchRevEvent(EventTchAdRev02Impression, IAPPlatform, value);
|
|
||||||
|
|
||||||
FBPurchase(value, USD, "iap", IAPPlatform);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -669,9 +663,11 @@ namespace Guru
|
||||||
// TCH 001
|
// TCH 001
|
||||||
Tch001IAPRev(usdPrice, productId, orderId, orderType, orderDate);
|
Tch001IAPRev(usdPrice, productId, orderId, orderType, orderDate);
|
||||||
// TCH 020
|
// TCH 020
|
||||||
Tch02IAPRev(usdPrice);
|
Tch02IAPRev(usdPrice, productId, orderId, orderType, orderDate);
|
||||||
// Adjust Track IAP Purchase
|
// Adjust Track IAP Purchase
|
||||||
AdjustService.TrackIAPPurchase(usdPrice, productId); // 上报 IAP 支付事件
|
AdjustService.TrackIAPPurchase(usdPrice, productId); // 上报 IAP 支付事件
|
||||||
|
// Facebook Track IAP Purchase
|
||||||
|
FBPurchase(usdPrice, USD, "iap", IAPPlatform);
|
||||||
|
|
||||||
if (orderData.orderType == 1)
|
if (orderData.orderType == 1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue