From ed29ead88ec162d33f611ce058308a348c15708a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 4 Aug 2016 00:50:03 -0400 Subject: [PATCH] GeneratedPassword events --- src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs | 1 + src/iOS.Extension/PasswordGeneratorViewController.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs index 92c0354b3..f0aa3ef9e 100644 --- a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs +++ b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs @@ -131,6 +131,7 @@ namespace Bit.App.Pages protected override void OnAppearing() { base.OnAppearing(); + _googleAnalyticsService.TrackAppEvent("GeneratedPassword"); Model.Password = _passwordGenerationService.GeneratePassword(); Model.Length = _settings.GetValueOrDefault(Constants.PasswordGeneratorLength, 10).ToString(); } diff --git a/src/iOS.Extension/PasswordGeneratorViewController.cs b/src/iOS.Extension/PasswordGeneratorViewController.cs index 1e801a318..29599b76e 100644 --- a/src/iOS.Extension/PasswordGeneratorViewController.cs +++ b/src/iOS.Extension/PasswordGeneratorViewController.cs @@ -140,6 +140,7 @@ namespace Bit.iOS.Extension } GeneratePassword(); + _googleAnalyticsService.TrackExtensionEvent("GeneratedPassword"); base.ViewDidLoad(); }