diff --git a/src/index.ts b/src/index.ts index d0c8050c5..245846298 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,10 +40,13 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { const pluginConfig = loadPluginConfig(ctx.directory, ctx) const posthog = createPluginPostHog() + const distinctId = getPostHogDistinctId() + posthog.trackActive(distinctId, "plugin_loaded") posthog.capture({ - distinctId: getPostHogDistinctId(), + distinctId, event: "plugin_loaded", properties: { + entry_point: "plugin", has_openclaw: !!pluginConfig.openclaw, tmux_enabled: isTmuxIntegrationEnabled(pluginConfig), },