@tonggu88 wrote:
my Androidmanifest.xml
<receiver android:name="org.piwik.sdk.InstallReferrerReceiver" android:exported="true"> <intent-filter> <action android:name="com.android.vending.INSTALL_REFERRER" /> </intent-filter> </receiver>
and, my activity .
Tracker tracker = ((Myapp)getApplication()).getTracker(); SharedPreferences mPreferences = tracker.getPiwik().getSharedPreferences(); String referrerExtras = mPreferences.getString("referrer.extra", "no_referrer"); TrackHelper.track().screen("/MainActivity?".concat(referrerExtras)).title("title111").with(tracker);
when i test download app from google play
?referrer=campaignbut, when i tracked screen, i could not get referrer, always /MainActivity?no_referrer
also i used download tracking,
TrackHelper.track().download().identifier(DownloadTracker.Extra.APK_CHECKSUM).with(getTracker());
download url is as below,
http://com.crosscounter.tracker.test:26/EAD2CCA1AF86B29681F16B490698D2D5might be, http://com.crosscounter.tracker.test:26/EAD2CCA1AF86B29681F16B490698D2D5?campaign
right?please any help?
Posts: 1
Participants: 1