Skip to main content
Hubert Pan (BuildDirect) 님이 #Customer Service에 질문했습니다
Hi Developers,

 

I am trying to integrate snap-in chat into our corporate website, and there are two use-cases that I am trying to support:

  • Enable pre-chat when visitor hasn't login/created-account with us
  • Disable pre-chat when they are already login

According to the documentation, there is a setting that does that:

embedded_svc.settings.initialInteractionState

 

// Enable pre-chat with PRECHAT, disable with WAITING

I have tried using either value (and also made sure that is being done before invoking init() function on embedded_svc). However, it doesn't change the behavior - it always rely on what is being configured at the deployment level.

 

Has anyone able to alter the prechat behavior with the above setting?

 

Last note: I am using version 22 of embedded_svc.

 

thanks!
답변 2개
  1. 2017년 9월 7일 오후 5:15
    Supports find out that the initialInteractionState flag isn't being rolled out, and the documentation would be updated to reflect that. 
0/9000