chatwoot icon indicating copy to clipboard operation
chatwoot copied to clipboard

Add custom attributes to conversation (not contact) through SDK

Open Deddy-SMSP opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. I want to save utm data etc to the conversation not the contact - because it can change per conversation

Describe the solution you'd like Just like adding custom attribute to contact using SDK -> window.$chatwoot.setCustomAttributes(newUtm); I want something like -> window.$chatwoot.conversation.setCustomAttributes(newUtm);

Describe alternatives you've considered Maybe to simplify -> window.$chatwoot.setCustomAttributes(newUtm, "conversation");

Additional context Please pardon me, I don't really understand about this section, my english is not very good because it's not my native language.

Thanks

Deddy-SMSP avatar Mar 18 '22 03:03 Deddy-SMSP

@Deddy-SMSP thanks for reporting. we will look into this.

sojan-official avatar Mar 18 '22 15:03 sojan-official

Do we have any update on this issue? We can create a Conversation attribute, but we cannot set custom attribute to Conversation.

danghung-dev avatar Jul 24 '22 15:07 danghung-dev

Agreed, I'm looking for this feature too

zachstence avatar Jul 28 '22 16:07 zachstence