Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Prepare checkout params
- var checkoutParams: [String: Any] = [
- AnalyticsParameterCurrency: "USD",
- AnalyticsParameterValue: 14.99,
- AnalyticsParameterCoupon: "10FREE"
- ];
- // Add items
- checkoutParams[AnalyticsParameterItems] = [esim1]
- // Log checkout event
- Analytics.logEvent(AnalyticsEventBeginCheckout, parameters: checkoutParams)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement