Don't reset analytics ID when leaving calls

We shouldn't be calling PosthogAnalytics.instance.logout() when leaving the call in widget mode, because all this does is reset your analytics ID. In the big picture this is probably inflating our user count metrics.
This commit is contained in:
Robin
2025-03-05 08:03:22 -05:00
parent 771397389c
commit 4919410ff0

View File

@@ -156,7 +156,6 @@ const widgetPostHangupProcedure = async (
logger.error("Failed to send close action", e);
}
widget.api.transport.stop();
PosthogAnalytics.instance.logout();
}
};