From e0612257841c1517f9a317950fe2a5a5bbf49497 Mon Sep 17 00:00:00 2001 From: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com> Date: Tue, 14 Jan 2025 14:59:01 +0000 Subject: [PATCH] Remove Node Run events from GH nodes (#3674) Removed tracking for grasshopper node runs --- .../BaseComponents/ComponentTracker.cs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ConnectorGrasshopper/ConnectorGrasshopperShared/BaseComponents/ComponentTracker.cs b/ConnectorGrasshopper/ConnectorGrasshopperShared/BaseComponents/ComponentTracker.cs index 8b12444d7f..8eccb2d669 100644 --- a/ConnectorGrasshopper/ConnectorGrasshopperShared/BaseComponents/ComponentTracker.cs +++ b/ConnectorGrasshopper/ConnectorGrasshopperShared/BaseComponents/ComponentTracker.cs @@ -35,13 +35,15 @@ public void TrackNodeCreation(string? name = null) public void TrackNodeRun(string? name = null, string? node = null) { - var customProperties = new Dictionary { { "name", name ?? Parent?.Name ?? "unset" } }; - if (node != null) - { - customProperties.Add("node", node); - } - AppendHostAppInfoToProperties(customProperties); - Speckle.Core.Logging.Analytics.TrackEvent(Speckle.Core.Logging.Analytics.Events.NodeRun, customProperties); + // Node Run tracking is disabled to prevent flooding Mixpanel (see https://linear.app/speckle/issue/CNX-1042/remove-node-run-events-from-gh-nodes) + + // var customProperties = new Dictionary { { "name", name ?? Parent?.Name ?? "unset" } }; + // if (node != null) + // { + // customProperties.Add("node", node); + // } + // AppendHostAppInfoToProperties(customProperties); + // Speckle.Core.Logging.Analytics.TrackEvent(Speckle.Core.Logging.Analytics.Events.NodeRun, customProperties); } public void TrackNodeSend(Account acc, bool auto, string? workspaceId, bool sync = false)