Unity Revenue Tracking
I can't seem to get any revenue tracking from my Unity app. The revenue documentation says to send a revenue event like:
- s.products="Mens;Shoes;1;35.99"
- s.events="purchase"
But the Unity plugin has a limited API, there really is only TrackState and TrackAction. I'm currently doing this:
- Dictionary<string, object> parms = new Dictionary<string, object>();
- parms.Add("products", string.Format("{0};{1};{2};{3}", productType, productId, quantity, dollarValue));
- ADBMobile.TrackAction("purchase", parms);
I can see all of the total occurrences of the "purchase action". And in my next release I will be adding an "events" parameter to try and match the documentation:
- parms.Add("events", "purchase");
Is there something else that I am missing? Should this be inside a call to TrackState? Is there something in the panel that I would need to set up in order for these events to register as revenue?