Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19179

Windows: Data section of analytics event is a string

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.0
    • Fix Version/s: Release 5.0.0
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows 8.1
      Appc CLI (NPM): 4.1.0-1
      Appc CLI (Registry): 4.1.0-5
      Ti SDK: 4.1.0.v20150706111546

    • Story Points:
      2
    • Sprint:
      2015 Sprint 14 Windows

      Description

      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.

      {"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"
      

      Steps to reproduce

      1. Point at staging and capture the analytics payloads

      Actual result

      The data section in the payloads is a string rather than an object

      Expected result

      In order to keep parity with other platforms the section should be an object

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              eharris Ewan Harris
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-20112
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code