<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nishant Shah on Medium]]></title>
        <description><![CDATA[Stories by Nishant Shah on Medium]]></description>
        <link>https://medium.com/@shahnishant19?source=rss-6aa04b8d35bc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vITiM26rZEcTYnOo.</url>
            <title>Stories by Nishant Shah on Medium</title>
            <link>https://medium.com/@shahnishant19?source=rss-6aa04b8d35bc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:49:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shahnishant19/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Track Android uninstalls for less than $1 a month]]></title>
            <link>https://medium.com/practo-engineering/track-android-uninstalls-for-less-than-1-a-month-c4657e2465c6?source=rss-6aa04b8d35bc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4657e2465c6</guid>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[uninstall]]></category>
            <dc:creator><![CDATA[Nishant Shah]]></dc:creator>
            <pubDate>Mon, 10 Dec 2018 10:20:14 GMT</pubDate>
            <atom:updated>2018-12-20T05:40:21.158Z</atom:updated>
            <content:encoded><![CDATA[<h3>Track Android uninstalls with user details for less than $1 a month</h3><p>It takes a lot of efforts and time to build and launch an app. It takes even more efforts to make users install the app. If users are leaving your app, you would immediately want to know why.</p><p>The main motive behind tracking uninstall rate is to figure out what made users delete the app. Uninstall tracking can also help us identify users who uninstalled the app and retarget them to install the app again or even to ask the for feedback. This tutorial will help you track uninstalls and find events performed before the uninstall happened using Firebase.</p><p>Firebase automatically tracks ‘<a href="https://support.google.com/firebase/answer/6317485?hl=en">app_remove</a>’ events when an application package is removed or “uninstalled” from an Android device. But the problem with Firebase console is that it only shows the number of events. It does not share the user’s demography or events performed before the uninstall happened.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h3wpoEOh7zz3AP3OdrT1lw.png" /><figcaption>Automatically tracked events Firebase</figcaption></figure><p>To find users demography and events performed before uninstall, we need to export all analytics event from firebase to BigQuery. Linking BigQuery to Firebase app lets us access our raw, unsampled event data along with all of the parameters and user properties. To transmit Firebase data to BigQuery, you must upgrade your project to the Blaze plan. We’ll talk more about costs later in the costs section.</p><h3>Setup</h3><p>First of all, we’ll have to integrate firebase with our Android project. Follow the instructions mentioned here to <a href="https://firebase.google.com/docs/android/setup">add firebase to your Android Project</a>. Add <a href="https://firebase.google.com/docs/analytics/android/start">Fireabase analytics</a> to your project and start tracking events which you would like to track before the uninstall happens.</p><blockquote>Do not forget to set <a href="https://firebase.google.com/docs/analytics/android/properties">user properties</a> in analytics events. It’ll help you identify users who uninstalled the app and retarget them.</blockquote><p><strong>Step 1:</strong></p><p>Upgrade your Firebase to Blaze</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dmKfF27LMk2X1DKOb_XR3w.png" /><figcaption>Firebase plans</figcaption></figure><p><strong>Step 2:</strong></p><p>Link BigQuery to Firebase. To link BigQuery to your Firebase project:</p><ul><li>Sign in to Firebase</li><li>Click the Settings icon and select Project Settings</li><li>On the Project Settings page, click the Integrations tab</li><li>On the BigQuery card, click Link</li><li>Once linking is complete, find the BigQuery card in integration tab, click on Manage</li><li>Under Firebase analytics flow, turn on the flow to export data of your app</li></ul><p>It will take some time to export start exporting data from firebase to BigQuery. Once your data is loaded into BigQuery, you can run SQL-like queries over it using BigQuery. Here is the sample query which we ran to analyze the events before the uninstall happened. For more information, see Querying Data in the <a href="https://cloud.google.com/bigquery/querying-data">BigQuery documentation</a>. If you have added user properties in your analytics events, you’ll be able to identify users who had uninstalled the app and will be able to retarget them</p><p><strong>Step 3:</strong></p><p>Query raw analytics evens in BigQuery. Here is the sample query to identify users who uninstalled the app on 2018/12/03</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_yKE5X_lc663ppbeFBxz5w.png" /><figcaption>Sample query 1</figcaption></figure><p>There’s a lot more stuff you can do by querying your raw data. Here is another sample query to find the last two events performed by the users before uninstalling the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIbr1g7QQZ8p2Yjh92Jg4Q.png" /><figcaption>Sample query 2</figcaption></figure><h3>Cost</h3><p>As we discussed, to transmit Firebase data to BigQuery, you must upgrade your project to the Blaze plan. Blaze plan is a postpaid plan, you’ll only pay for what you use. No fixed monthly charges either. For more information, see <a href="https://firebase.google.com/pricing/">Firebase pricing</a>.</p><p>In addition, storing and querying data in BigQuery incurs a fee. For more information, see <a href="https://cloud.google.com/bigquery/pricing">BigQuery pricing</a>.</p><p>To reduce data storage costs even further as daily event tables accumulate, delete older tables or move them to Cloud Storage.</p><blockquote><strong>How much does it cost us?</strong></blockquote><blockquote><em>Well, less than $1.00 per month💸💸. We log around 70 events, 3 user properties and store only last 6 months data and we do not use any other paid feature of Firebase Blaze plan</em></blockquote><p>It takes time to build an app that everyone likes. Until then, we have to keep a watch on users’ actions within our app and discover the problem which led to uninstalls and of course fix that problem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4657e2465c6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/practo-engineering/track-android-uninstalls-for-less-than-1-a-month-c4657e2465c6">Track Android uninstalls for less than $1 a month</a> was originally published in <a href="https://medium.com/practo-engineering">Practo Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>