From 6d9e03cc76d73885993badb9b19ba2942ca53894 Mon Sep 17 00:00:00 2001 From: Momo Ozawa Date: Wed, 13 Oct 2021 17:37:32 +0100 Subject: [PATCH] Add: track nudge completed for publicize --- .../Stats/Insights/SiteStatsInsightsTableViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsTableViewController.swift b/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsTableViewController.swift index d8523d2eeee8..04f427973791 100644 --- a/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsTableViewController.swift +++ b/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsTableViewController.swift @@ -683,6 +683,8 @@ extension SiteStatsInsightsTableViewController: SharingViewControllerDelegate { func didChangePublicizeServices() { viewModel?.markEmptyStatsNudgeAsCompleted() refreshTableView() + + WPAnalytics.trackEvent(.statsPublicizeNudgeCompleted) } }