{"id":37451,"date":"2018-07-09T23:35:38","date_gmt":"2018-07-10T03:35:38","guid":{"rendered":"https:\/\/blog.xamarin.com\/?p=37451"},"modified":"2019-03-25T14:45:52","modified_gmt":"2019-03-25T22:45:52","slug":"appcenter-continuous-export-application-insights","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/appcenter-continuous-export-application-insights\/","title":{"rendered":"Export To Application Insights With AppCenter Continuous Export"},"content":{"rendered":"<p>\t\t\t\tFive-star mobile apps have one special feature: they don\u2019t let go of their users. This can be achieved by understanding your app, the app\u2019s users, and how these users interact with your app. The deep customer insights offered by AppCenter&#8217;s Continuous Export provide a better understanding of your customers and help boost retention. By default, you receive information about your active users, their active sessions, top devices, country, language, and more!<\/p>\n<p>Additionally, with just a few lines of code, you can also track custom events like user log-in or items added to a cart but not purchase. This post will look into how analytics from AppCenter can be further applied for making great apps.<\/p>\n<h2>Utilizing Continuous Export:<\/h2>\n<p>For this case, we will be using the SmartHotel360 a Continuous Export app to analyze the application usage. Find the source code of this application on <a href=\"https:\/\/github.com\/Microsoft\/SmartHotel360-mobile-desktop-apps\">GitHub<\/a><\/p>\n<h3>Step 1: Register Your App in AppCenter<\/h3>\n<p>Fork the SmartHotel360 repository in your GitHub and add this application in your AppCenter account. From the app\u2019s \u2018Getting Started\u2019 page, follow the guidelines and add AppCenter analytics to your app. Now, run your app and you should see the\u00a0default or &#8216;out of the box&#8217; data on your dashboard.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37455\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/04-appcenter-analytics-01.png\" alt=\"\" width=\"1000\" height=\"456\" \/><\/p>\n<h3>Step 2: Track Custom Events<\/h3>\n<p>Track custom events in your application by using <code><a href=\"https:\/\/docs.microsoft.com\/en-us\/appcenter\/sdk\/analytics\/xamarin#custom-events\">TrackEvent()<\/a><\/code>. This will give you details about the functionality that has been used and detailed info about how each event has been tracked.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37456\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/05-custom-events.png\" alt=\"\" width=\"1000\" height=\"426\" \/><\/p>\n<p>AppCenter provides all of this information to you out of the box when included in your app. To make your app more granulous, AppCenter also has the ability to send this data to your Application Insights.<\/p>\n<h3>Step 3: Setup an Azure Account &amp; Export to Application Insights<\/h3>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/#pivot=get-started\">Create a personal Azure account<\/a> and then add your subscription to Application Insights like so:\n<img decoding=\"async\" class=\"aligncenter wp-image-37457\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/AppInsightsGIF3.gif\" alt=\"\" width=\"1000\" height=\"563\" \/><\/p>\n<h3>Step 4: Analyze in Application Insights<\/h3>\n<p>Once the <strong>Continuous Export<\/strong> is setup from AppCenter to Application Insights, the data will be available to analyze and take action. Just like AppCenter, Application Insights will also share all of your app analytics with you at a high level. <\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37458\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/AppInsightsGIF.gif\" alt=\"\" width=\"1000\" height=\"563\" \/><\/p>\n<h2>Wrapping Up:<\/h2>\n<p>Make informed decisions about future releases with AppCenter&#8217;s\u00a0Continuous Export to Application Insights. Obtain important details about your app&#8217;s data like where it is being used, what point users leave your app, and which version of OS they&#8217;re running. Continuous Export to Application Insights will help this decision making with out-of-the-box custom data points. For more information on integrating analytics with AppCenter, check out the <a href=\"https:\/\/docs.microsoft.com\/en-us\/appcenter\/analytics\/\">AppCenter Documentation<\/a>.<\/p>\n<p><a href=\"https:\/\/forums.xamarin.com\/129157\/\">Discuss this post on the Xamarin forums!<\/a>\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Five-star mobile apps have one special feature: they don\u2019t let go of their users. This can be achieved by understanding your app, the app\u2019s users, and how these users interact with your app. The deep customer insights offered by AppCenter&#8217;s Continuous Export provide a better understanding of your customers and help boost retention. By default, you receive information about your active users, their active sessions, top devices, country, language, and more!<\/p>\n","protected":false},"author":549,"featured_media":40989,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2,556,291],"tags":[1105,11],"class_list":["post-37451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developers","category-integrations","category-xamarin-platform","tag-app-center","tag-education"],"acf":[],"blog_post_summary":"<p>Five-star mobile apps have one special feature: they don\u2019t let go of their users. This can be achieved by understanding your app, the app\u2019s users, and how these users interact with your app. The deep customer insights offered by AppCenter&#8217;s Continuous Export provide a better understanding of your customers and help boost retention. By default, you receive information about your active users, their active sessions, top devices, country, language, and more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/37451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/549"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=37451"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/37451\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media\/40989"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=37451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=37451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=37451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}