since ‎26-11-2018
‎10-12-2019
ArjunBhadra
Employee
Re: [Swift] Analytics - Product variable implementation is not in documentation ArjunBhadra - Adobe Experience Platform SDKs
Hi Jennifer Andrews Adobe​,Thanks for verifying the code, good catch it has to be var contextData: [String : String] = [:]Will update the documentation accordingly.Thanks,Arjun
1604
Views
0
Likes
0
Answers
Re: [Swift] Analytics - Product variable implementation is not in documentation ArjunBhadra - Adobe Experience Platform SDKs
Hi Kevin,The swift syntax would be as follows://create a context data dictionary// add products, a purchase id, a purchase context data key, and any other data you want to collect.// Note the special syntax for productsvar contextData = ["&&events" : "event1", "&&products" : ";Running Shoes;1;69.95;event1=5.5;eVar1=Merchandising,;Running Socks;10;29.99", "m.purchaseid" : "1234567890", "m.purchase" : "1"]// send the tracking call - use either a trackAction or TrackState call.// trackAction exampl...
1613
Views
1
Like
0
Answers
Likes from