Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Is it required to re-build and re-deliver to get statistics from already delivered customers ?

Discussion in 'Unity Analytics' started by mickael_LASZLO, Jul 6, 2020.

  1. mickael_LASZLO

    mickael_LASZLO

    Joined:
    Jul 17, 2017
    Posts:
    8
    Our customers have already been delivered with our application.
    This version of the application was already associated with a project ID for Unity services, but Analytics hadn't been activated when we built it.
    Now, we activated Analytics, by opening Unity Editor, clicking on the "OFF" button and then clicking on "Play".
    From that day, should we expect basic statistics (such as DAU, Number of sessions...) from already delivered customers to be emitted and then displayed in the Dashboard, without needing to re-build and re-deliver our project ?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,600
    You need to publish your Analytics-enabled app again. Users with your prior version would not be sending Analytics events.
     
  3. mickael_LASZLO

    mickael_LASZLO

    Joined:
    Jul 17, 2017
    Posts:
    8
    Thank you for answering.
    But what is very strange is that I see new sessions appearing everyday in the dashboard, whereas I don't launch my version of the application with which Analytics has been activated. My only explanation was that the previous version (delivered to customers without Analytics activated) has always been able to send the events (and maybe they send them everyday concretely), but those events were ignored by Analytics servers because it was not activated.
    So I'm still confused.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,600
    Sessions from Android or iOS users? Where are they located? Could it be your own testing showing up? You can confirm using Charles Proxy if the released app is sending events. If the game is free, please post the link here or send a private message and I'll check. The capture for me would be encrypted, but I could still be able to confirm https://support.unity3d.com/hc/en-us/articles/115002917683-Using-Charles-Proxy-with-Unity
     
  5. mickael_LASZLO

    mickael_LASZLO

    Joined:
    Jul 17, 2017
    Posts:
    8
    Sessions from PC users.
    Those PCs are located by our customers so it would be delicate (if not impossible) to install Charles Proxy by them.
    I am pretty sure those events don't come from my personnal testing because the number of different users (DAU) concerned by those sessions is much more than one (DAU ranges from 6 to 9 users).
    Other developpers from my company surely launch our application too (I guess mainly from a Play in Unity Editor), but their version of our project/application doesn't have the "Analytics" switch activated (it's only activated on my PC).
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,600
    I had mentioned that YOU check your released app with Charles Proxy, not your users. It will (hopefully) be the same behavior for all users.
     
  7. mickael_LASZLO

    mickael_LASZLO

    Joined:
    Jul 17, 2017
    Posts:
    8
    Here are the messages that are sent by our old built application (which was already linked to a project ID, but for wich Analytics was not activated yet) :

    {
    "common": {
    "appid": "04005bbb-134f-4b92-8c58-0084ddc90fe1",
    "userid": "9d944d85a5ed9a645986dd7de49d495c",
    "sessionid": 8304043779939969365,
    "platform": "WindowsPlayer",
    "platformid": 2,
    "sdk_ver": "u2019.1.14f1",
    "session_count": 5,
    "localprojectid": "71a40de5eda913540995458445564b03",
    "build_guid": "e8ddfa1a16fd0c54e90c8f428b06775f",
    "deviceid": "80e366168d44552a387bdcda76e330dd8b7e0df3",
    "t_since_start": 4267777
    }
    }


    {"common":{"appid":"04005bbb-134f-4b92-8c58-0084ddc90fe1","userid":"9d944d85a5ed9a645986dd7de49d495c","sessionid":8304043779939969365,"platform":"WindowsPlayer","platformid":2,"sdk_ver":"u2019.1.14f1","session_count":5,"localprojectid":"71a40de5eda913540995458445564b03","build_guid":"e8ddfa1a16fd0c54e90c8f428b06775f","deviceid":"80e366168d44552a387bdcda76e330dd8b7e0df3"}}
    {"type":"analytics.appStart.v1","msg":{"previous_sessionid":4881634041293858563,"ts":1594201074280,"t_since_start":6320939}}


    {"common":{"appid":"04005bbb-134f-4b92-8c58-0084ddc90fe1","userid":"9d944d85a5ed9a645986dd7de49d495c","sessionid":8304043779939969365,"platform":"WindowsPlayer","platformid":2,"sdk_ver":"u2019.1.14f1","session_count":5,"localprojectid":"71a40de5eda913540995458445564b03","build_guid":"e8ddfa1a16fd0c54e90c8f428b06775f","deviceid":"80e366168d44552a387bdcda76e330dd8b7e0df3"}}
    {"type":"analytics.appRunning.v1","msg":{"duration":63,"local_time_offset":-3600000,"ts":1594201133967,"t_since_start":66008101}}
    {"type":"analytics.appRunning.v1","msg":{"duration":99,"local_time_offset":-3600000,"ts":1594201170092,"t_since_start":102133080}}
    {"type":"analytics.appStop.v1","msg":{"ts":1594201170093,"t_since_start":102134437}}


    {"common":{"appid":"04005bbb-134f-4b92-8c58-0084ddc90fe1","userid":"9d944d85a5ed9a645986dd7de49d495c","sessionid":8304043779939969365,"platform":"WindowsPlayer","platformid":2,"sdk_ver":"u2019.1.14f1","session_count":5,"localprojectid":"71a40de5eda913540995458445564b03","build_guid":"e8ddfa1a16fd0c54e90c8f428b06775f","deviceid":"80e366168d44552a387bdcda76e330dd8b7e0df3"}}
    {"type":"analytics.dispatcherStats.v1","msg":{"config_response":200,"config_time_in_ms":1824,"archived_recent_containers":2,"queued_events":4,"queued_event_names":{"analytics.appRunning.v1":2,"analytics.appStart.v1":1,"analytics.appStop.v1":1},"found_past_containers":0,"received_recent_containers":2,"dispatched_bytes":1221,"min_dispatched_bytes":500,"max_dispatched_bytes":721,"dispatched_events":4,"min_dispatched_events":1,"max_dispatched_events":3,"dispatched_containers":2,"dispatched_sessions":0,"max_retries":1,"sessions":0,"containers":2,"events":4,"bad_containers":0,"expired_containers":0,"bad_events":0,"dropped_bad_events":0,"dropped_containers":0,"max_continuous_request":1,"continuous_limit_reached":0,"response":{"200":2},"min_response_in_ms":{"200":359},"max_response_in_ms":{"200":498},"last_response":200,"ts":1594201170461,"t_since_start":102502092}}

    That seems to confirm that events are sent by an application linked to a project ID, even if Analytics was not activated when its build was made. At least from the moment Analytics is activated for this project.
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,600
    Analytics is indeed enabled for this app. Please attach the .chls file for this capture and I can confirm the issue.
     
unityunity