Recent searches


No recent searches

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



Posted Jan 13, 2023

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?

1

2

2 comments

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.

0


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

1


Sign in to leave a comment.

Didn't find what you're looking for?

New post