how do i customize my chat widget in react? Docs are not working | Community
Skip to main content

how do i customize my chat widget in react? Docs are not working

  • January 13, 2023
  • 2 replies
  • 0 views

I tried to follow this docs and it doesn't work 

for example i tried 

 ZendeskAPI("webWidget:on", "chat:start", () =>
      console.log("chat has been started")
    );
 
But this docs is working fine 
but there is not much options to do in this docs like changing theme color etc.
 
how do i do it?

2 replies

  • Author
  • January 13, 2023

doing this 

 ZendeskAPI("webWidget:on", "chat:start", () =>
      console.log("chat has been started")
    );

i get the following error

Method webWidget:on.chat:start does not exist.

Check out the Developer API docs to make sure you're implementing it correctly, https://developer.zendesk.com/embeddables/docs/zendesk-sdk-for-web/getting_started


Hi Abhishek,
 
It looks like you're using our Web SDK for the Messaging experience rather than live chat.  So the Classic Widget APIs are not applicable for your widget.  For your widget, you can either customize within the available admin settings or create a custom launcher to use on the page.