Solved

Chat icon is not showing

  • 16 December 2022
  • 1 reply
  • 38 views

Badge +2

We were showing front chat app icon on FE to communicate with our support team, everything was working fine from the past years, recently the icon is not showing anymore, We have initialised FCSP token and frontChat too. But we don't know how suddenly this stops working.

Is there any expiry date in token?


Or is there any change is script to integrate front chat?

<script src="https://chat-assets.frontapp.com/v1/chat.bundle.js"></script>
<script>
window.FCSP = 'xxx';
</script>

 

icon

Best answer by Support Engineering 16 December 2022, 20:02

View original

1 reply

Userlevel 1
Badge +5

The second script seems to try directly setting the value of window.FCSP, rather than calling the init method documented here: 

 

https://dev.frontapp.com/docs/chat-sdk-reference#frontchatinit-options

 

Which would look like:

<script src="https://chat-assets.frontapp.com/v1/chat.bundle.js">
<script>

  window.FrontChat('init', {chatId: 'xxx', useDefaultLauncher: true});

</script>

 

Reply