protected override void Execute(object parameter) { if (parameter is string tag) { var subscription = _subscriptionManager.AddTagSearchSubscription(tag); if (subscription != null) { //Analytics.TrackEvent("Subscription_Added", new Dictionary<string, string> //{ // { "SourceType", SubscriptionSourceType.SearchWithTag.ToString() } //}); } } }