GeneratedPassword events

This commit is contained in:
Kyle Spearrin 2016-08-04 00:50:03 -04:00
parent fef77e94a4
commit ed29ead88e
2 changed files with 2 additions and 0 deletions

View file

@ -131,6 +131,7 @@ namespace Bit.App.Pages
protected override void OnAppearing() protected override void OnAppearing()
{ {
base.OnAppearing(); base.OnAppearing();
_googleAnalyticsService.TrackAppEvent("GeneratedPassword");
Model.Password = _passwordGenerationService.GeneratePassword(); Model.Password = _passwordGenerationService.GeneratePassword();
Model.Length = _settings.GetValueOrDefault(Constants.PasswordGeneratorLength, 10).ToString(); Model.Length = _settings.GetValueOrDefault(Constants.PasswordGeneratorLength, 10).ToString();
} }

View file

@ -140,6 +140,7 @@ namespace Bit.iOS.Extension
} }
GeneratePassword(); GeneratePassword();
_googleAnalyticsService.TrackExtensionEvent("GeneratedPassword");
base.ViewDidLoad(); base.ViewDidLoad();
} }