From 2481158e3132602ec8ba9ef3273fe87df09e8787 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Mon, 17 Aug 2015 10:44:09 +0300 Subject: [PATCH] [alohalytics] Count how often users are downloading maps from the screen. --- map/country_status_display.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/map/country_status_display.cpp b/map/country_status_display.cpp index d7357a3f93..09b589a4d2 100644 --- a/map/country_status_display.cpp +++ b/map/country_status_display.cpp @@ -13,6 +13,8 @@ #include "base/thread.hpp" #include "base/string_format.hpp" +#include "3party/Alohalytics/src/alohalytics.h" + #include "std/bind.hpp" #include "std/sstream.hpp" @@ -464,6 +466,8 @@ void CountryStatusDisplay::OnButtonClicked(gui::Element const * button) opt = -1; m_downloadCallback(m_countryIdx, opt); + + alohalytics::LogEvent("CountryStatusDisplay::OnButtonClicked", DebugPrint(options)); } void CountryStatusDisplay::Repaint() const