Advertisement
pablomoratinos

begin_checkout Swift IOS

Oct 31st, 2023
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.34 KB | None | 0 0
  1. // Prepare checkout params
  2. var checkoutParams: [String: Any] = [
  3.   AnalyticsParameterCurrency: "USD",
  4.   AnalyticsParameterValue: 14.99,
  5.   AnalyticsParameterCoupon: "10FREE"
  6. ];
  7.  
  8. // Add items
  9. checkoutParams[AnalyticsParameterItems] = [esim1]
  10.  
  11. // Log checkout event
  12. Analytics.logEvent(AnalyticsEventBeginCheckout, parameters: checkoutParams)
Tags: App Tracking
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement