We're hitting /v0.1/apps/{owner_name}/{app_name}/analytics/versions through Microsoft App Center. The data being returned is a little ambiguous and wondering if anyone can provide some insight as to what it is providing.
Example of data when start = 2020-01-10T15:28:58+0000
{ "versions": [ { "version": "1.0.6", "count": 2 }, { "version": "1.10.1", "count": 1 }, { "version": "1.11.3", "count": 3 }, { "version": "1.12.3", "count": 14 }, { "version": "1.12.4", "count": 1 }, { "version": "2.0.0", "count": 376 }, { "version": "2.1.2", "count": 1 }, { "version": "2.2.0", "count": 1593 }, { "version": "2.3.0", "count": 749 } ], "total": 2740 }
Example of data when start = 2020-01-27T15:28:58+0000
{ "versions": [ { "version": "2.0.0", "count": 7 }, { "version": "2.2.0", "count": 9 }, { "version": "2.3.0", "count": 213 } ], "total": 229 }
Does anyone know how they're counting the users with app versions? We're wrote a Lambda for this under the assumption that is would return the number of people with specific versions downloaded given a day. However, it looks like there is some criteria around how a user gets lumped into this. For instance, is it based on someone actually opening and using the app?
Any help is appreciated. Thank you ahead of time
Answers
I think this is what you are consuming:
https://docs.microsoft.com/en-us/appcenter/analytics/event-metrics#events-page
We could get the version information through some device api so it's not difficult to retrieve the version.
And I think you may add a count calculation for your certain event. Each click of the event will notify the App Center to increase the amount.
If you want to know more specific information about the principle it's better to seek the support of App Center:
https://appcenter.ms/apps
While we use the Events metric within the MS Analytics SDK, this is a different API. It can be found under Analytics within openapi appcenter (can't share the link as I'm "new around here"). Under the Analytics tab, you'll see the GET
/v0.1/apps/{owner_name}/{app_name}/analytics/versions.
This is how the analysis works. Which part are you confused about?