issue solved, problem was in url generator. It generates urls like http://market.android.com/search?q=pname:com.mycompany&referrer=utm_source%3Dsource%26utm_medium%3Dmedium%26utm_campaign%3Dname
but we need, something like this: http://market.android.com/details?id=com.mycompany&referrer=utm_source%3Dsource%26utm_medium%3Dmedium%26utm_campaign%3Dname i.e.: "/search?q=pname:" should be "/details?id=" I hope this will help someone On Nov 1, 4:26 pm, Alex Polyakov <[email protected]> wrote: > I needed to track install information, so i used > com.android.vending.INSTALL_REFERRER intent for google > analytics:http://code.google.com/mobile/analytics/docs/android/ > > I have put that intent into manifest as following: > > <receiver android:name="com.mycompany.MyReceiver" > android:exported="true"> > <intent-filter> > <action android:name="com.android.vending.INSTALL_REFERRER" /> > </intent-filter> > </receiver> > > Inside MyReceiver class, i've implemented: > > public void onReceive(Context context, Intent intent) { > String referrer = > URLDecoder.decode(intent.getStringExtra("referrer")); > Log.d(TAG, referrer); > > com.google.android.apps.analytics.AnalyticsReceiver > receiver = new com.google.android.apps.analytics.AnalyticsReceiver(); > receiver.onReceive(context, intent); > } > > Then i installed app using generated > athttp://code.google.com/mobile/analytics/docs/android/#android-market-... > url, and got this in log: > > DEBUG/TestApplication(31977): > utm_source=androidmarket&utm_medium=device&utm_campaign=search&utm_term=pna > me:com.mycompany.test.market&rowindex=0&hl=en&correctedQuery= > WARN/googleanalytics(31532): Badly formatted referrer missing > campaign, name or source > WARN/googleanalytics(31532): Badly formatted referrer, ignored > > So, instead of referral data that was given at url generation, i've > got data which looks like i was searching for my app at Market > > Does anyone have this kind of trouble, or knows how to help? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

