Project: titanium
Issue TIMOB-19179: Windows: Data section of analytics event is a string
h5.Description In analytics events the data section in the payload is a string rather than an object. Currently the analytics engine can handle this but in order to keep parity across platforms the data section should be an object. {code} {"city":"San Francisco","region_code":"CA","country_code":"US","country_name":"United States","postal_code":"","latitude":37.774898529053,"longitude":-122.41940307617,"area_code":415,"continent_code":"NA","ip_address":"38.110.144.252","region_name":"California","id":"9067e944-8d3f-43bb-a418-637a3e187700:c6ea39484a1632ff590c24a7d6b144f3","sid":"6ba4369d-1e79-4a1c-9c92-652ea9343919","ts":"2015-06-26T20:37:36.447Z","event":"ti.foreground","seq":0,"mid":"c6ea39484a1632ff590c24a7d6b144f3","ver":"3","aguid":"659f2417-717e-4cd2-9444-df5ac47cd37b","data":"{\"platform\":\"windows\",\"osarch\":\"arm\",\"model\":\"NOKIA RM-877_lta_lta_266\",\"oscpu\":2,\"ostype\":\"arm\",\"deploytype\":\"test\",\"app_id\":\"com.appc.analytics\",\"app_name\":\"testAnalytics\",\"os\":\"windowsphone\",\"tz\":420,\"nettype\":\"UNKNOWN\",\"app_version\":\"1.0\",\"osver\":\"0.0\",\"sdkver\":\"\"}","source":"mobile-track" {code} h5.Steps to reproduce 1. Point at staging and capture the analytics payloads h5.Actual result The data section in the payloads is a string rather than an object h5.Expected result In order to keep parity with other platforms the section should be an object
Story points: 2