Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Prepare ecommerce parameters
- var productDetails: [String: Any] = [
- AnalyticsParameterCurrency: "USD",
- AnalyticsParameterValue: 19.99
- ]
- // Add items array
- productDetails[AnalyticsParameterItems] = [esim1]
- // Log view item event
- Analytics.logEvent(AnalyticsEventViewItem, parameters: productDetails)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement