Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2015-08-17 10:44:09 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:01:21 +0300
commit2481158e3132602ec8ba9ef3273fe87df09e8787 (patch)
tree0e29c613eee1df12cc9a51e18e7ce10f7357a0a0 /map/country_status_display.cpp
parent17d306811e0f54d4464da00297532bb66ea3d991 (diff)
[alohalytics] Count how often users are downloading maps from the screen.
Diffstat (limited to 'map/country_status_display.cpp')
-rw-r--r--map/country_status_display.cpp4
1 files changed, 4 insertions, 0 deletions
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