public static void NewEvent(string currency, int amount, string itemType, string itemId, string cartType, string receipt, bool autoFetchReceipt) { if (autoFetchReceipt) { GA_Wrapper.AddBusinessEventAndAutoFetchReceipt(currency, amount, itemType, itemId, cartType); } else { GA_Wrapper.AddBusinessEvent(currency, amount, itemType, itemId, cartType, receipt); } }
public static void NewEvent(string currency, int amount, string itemType, string itemId, string cartType) { GA_Wrapper.AddBusinessEvent(currency, amount, itemType, itemId, cartType); }