File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ export const createChat = async () => sew(() =>
112112
113113 return {
114114 id : chat . id ,
115+ isAnonymous : isGuestUser ,
115116 }
116117 } )
117118) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export const useCreateNewChatThread = () => {
3939 return ;
4040 }
4141
42- captureEvent ( 'wa_chat_thread_created' , { } ) ;
42+ captureEvent ( 'wa_chat_thread_created' , { isAnonymous : response . isAnonymous } ) ;
4343
4444 setChatState ( {
4545 inputMessage,
Original file line number Diff line number Diff line change @@ -150,7 +150,9 @@ export type PosthogEventMap = {
150150 chatId : string ,
151151 messageId : string ,
152152 } ,
153- wa_chat_thread_created : { } ,
153+ wa_chat_thread_created : {
154+ isAnonymous : boolean ,
155+ } ,
154156 wa_chat_message_sent : {
155157 messageCount : number ,
156158 } ,
You can’t perform that action at this time.
0 commit comments