diff --git a/components/inkeep/useInkeepSettings.ts b/components/inkeep/useInkeepSettings.ts index eab3b723e..b33228127 100644 --- a/components/inkeep/useInkeepSettings.ts +++ b/components/inkeep/useInkeepSettings.ts @@ -18,6 +18,10 @@ const customAnalyticsCallback = ( const { interactionType } = event.commonProperties; posthog.capture(`inkeep:${event.eventName}`, { interactionType, + content: + event.eventName === "chat_message_submitted" + ? event.properties.content + : undefined, }); };