我使用INSTALL_REFERRER玩弄了一切,使用adb時一切正常,但當我的應用程序位於Google Play-Store中時並非如此。Android INSTALL_REFERRER和Google Play Store
我的情況是:
1)一個包含我的廣播接收器庫(包com.sm.android) 2)使用庫我的應用程序(包de.sm.android)
在AndroidManifest應用程序的.XML文件,接收器部分看起來像:
<receiver
android:name="com.sm.android.helper.ReferralReceiver"
android:exported="true" >
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
正如前面所說,使用亞行我得到的安裝事件,但下載從商店應用程序時,我沒有得到事件。我使用https://developers.google.com/analytics/devguides/collection/android/v2/campaigns構建我的網址,它看起來像https://play.google.com/store/apps/details?id=de.sm.riskulator&referrer=utm_source%3Dgoogle%26utm_medium%3Dbanner%26utm_content%3D234124%26utm_campaign%3Dpromo並正確轉發到我的應用程序。
由於提前, 薩沙
哦,那將是一個貝蒂... – 2012-08-02 14:33:23
是通過努力爲你們任何機會? – Gopinath 2012-10-16 13:09:27
@Kuffs你能提供一個確認這個功能已被禁用的鏈接嗎?謝謝 – 2014-12-24 14:35:38