Added "banner shown" event.

This commit is contained in:
Dmitry Yunitsky 2014-12-11 13:11:21 +03:00 committed by Alex Zolotarev
parent ee46c286ca
commit 3ad2c5fbb6
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,7 @@ import android.widget.ImageButton;
import com.mapswithme.maps.BuildConfig;
import com.mapswithme.maps.R;
import com.mapswithme.util.statistics.Statistics;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
@ -51,6 +52,8 @@ public class BannerDialogFragment extends DialogFragment implements View.OnClick
e.printStackTrace();
}
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.PROMO_BANNER_SHOWN);
return view;
}

View file

@ -66,6 +66,7 @@ public enum Statistics
public static final String STATISTICS_STATUS_CHANGED = "Statistics status changed";
public static final String NO_FREE_SPACE = "Downloader. Not enough free space.";
public static final String APP_ACTIVATED = "Application activated.";
public static final String PROMO_BANNER_SHOWN = "Promo banner shown.";
}
public static class EventParam