forked from organicmaps/organicmaps
[ios] Added Downloader_Migration_started statistics event.
This commit is contained in:
parent
0cb259defe
commit
dc16d09b9b
2 changed files with 9 additions and 2 deletions
iphone/Maps
|
@ -5,6 +5,7 @@
|
|||
#import "MWMMigrationView.h"
|
||||
#import "MWMMigrationViewController.h"
|
||||
#import "MWMStorage.h"
|
||||
#import "Statistics.h"
|
||||
|
||||
#include "Framework.h"
|
||||
|
||||
|
@ -44,6 +45,8 @@ using namespace storage;
|
|||
|
||||
- (void)performLimitedMigration:(BOOL)limited
|
||||
{
|
||||
[Statistics logEvent:kStatDownloaderMigrationStarted
|
||||
withParameters:@{kStatType : limited ? kStatCurrentMap : kStatAllMaps}];
|
||||
auto & f = GetFramework();
|
||||
LocationManager * lm = [MapsAppDelegate theApp].m_locationManager;
|
||||
ms::LatLon position{};
|
||||
|
|
|
@ -7,6 +7,7 @@ static NSString * const kStatAd = @"Ad";
|
|||
static NSString * const kStatAdd = @"Add";
|
||||
static NSString * const kStatAdTitle = @"Ad title";
|
||||
static NSString * const kStatAlert = @"Alert";
|
||||
static NSString * const kStatAllMaps = @"all_maps";
|
||||
static NSString * const kStatAPI = @"API";
|
||||
static NSString * const kStatApplication = @"Application";
|
||||
static NSString * const kStatApply = @"Apply";
|
||||
|
@ -38,13 +39,15 @@ static NSString * const kStatConnection = @"Connection";
|
|||
static NSString * const kStatCopyright = @"Copyright";
|
||||
static NSString * const kStatCount = @"Count";
|
||||
static NSString * const kStatCountry = @"Country";
|
||||
static NSString * const kStatCurrentMap = @"current_map";
|
||||
static NSString * const kStatDestination = @"Destination";
|
||||
static NSString * const kStatDeviceInfo = @"Device info";
|
||||
static NSString * const kStatDeviceType = @"Device type";
|
||||
static NSString * const kStatDownloadAll = @"Download all country clicks counter";
|
||||
static NSString * const kStatDownloader = @"Downloader";
|
||||
static NSString * const kStatDownloader = @"downloader";
|
||||
static NSString * const kStatDownloaderDialog = @"Downloader dialog";
|
||||
static NSString * const kStatDownloaderMigrationDialogue = @"Downloader_Migration_dialogue";
|
||||
static NSString * const kStatDownloaderMigrationStarted = @"Downloader_Migration_started";
|
||||
static NSString * const kStatDownloadMap = @"Download map";
|
||||
static NSString * const kStatDownloadMaps = @"Download maps";
|
||||
static NSString * const kStatDownloadRequest = @"Download request";
|
||||
|
@ -72,7 +75,7 @@ static NSString * const kStatLandscape = @"Landscape";
|
|||
static NSString * const kStatLanguage = @"Language";
|
||||
static NSString * const kStatLocation = @"Location";
|
||||
static NSString * const kStatLogout = @"Logout";
|
||||
static NSString * const kStatMap = @"Map";
|
||||
static NSString * const kStatMap = @"map";
|
||||
static NSString * const kStatMapSearch = @"Map search";
|
||||
static NSString * const kStatMapViewStyle = @"Map view style";
|
||||
static NSString * const kStatMapViewStyleSettings = @"Map view style settings";
|
||||
|
@ -140,6 +143,7 @@ static NSString * const kStatToggleZoomButtonsVisibility = @"Toggle zoom buttons
|
|||
static NSString * const kStatToMyPosition = @"To my position";
|
||||
static NSString * const kStatTTS = @"TTS";
|
||||
static NSString * const kStatTTSSettings = @"TTS settings";
|
||||
static NSString * const kStatType = @"type";
|
||||
static NSString * const kStatUpdateAll = @"Update all";
|
||||
static NSString * const kStatValue = @"Value";
|
||||
static NSString * const kStatVehicle = @"Vehicle";
|
||||
|
|
Loading…
Add table
Reference in a new issue