Add Facebook Chat widget to the website

Add Facebook Chat widget to the website

In this document, you will learn how to add a live chat widget to your website. Currently, we support to add a Facebook Messenger chat widget to your website or landing pages.

Create a Customer Chat widget You can go to your Facebook Messenger channel, and then go to Tools, and in the widget section, you can create a new widget.

Select Customer Chat in the dropdown, as per the instruction below:


Widget Settings

  • Opt-in Flow

You can easily set up which of the chatbot flows you want to trigger when the user starts a live chat.

Simply choose a sub-flow, and select the flow you want to trigger.

 

  • Install Javascript Snippet

When you click the Install Javascript snippet button, it should popup the window below:

 

You should copy the script and paste the script to the header of your website or landing page.

Also, make sure your domain is authorized as well. If not, you can add your domain to the Authorize website section.

After you install the code to your website, refresh the page, the chatbot icon should show up on the website.

 

  • Customize the chat icon color

There are extra options to customize the color of the chat icon.

 

You can use the hex code to match your brand. Please note the preview will not change, but it will take effect on the live website.

 

  • Set up different greeting messages for logged in or logged out user

You can also set up different greeting messages for the login/logged-out user.

 

  • Configure when your chat icon should show up

in these settings, you can set up the time delay and also the open behavior of the chatbot icon.

You can choose to simply show the messenger bubble icon or you can choose to open the chat window when the page loads.

 

Please note that this will only show up when the customer is visiting your website for the first time.

 

  • Turn on/off of the guest mode

Guest mode is enabled by default for every Facebook page. To disable this feature use the link mentioned on the page, scroll down to the “Add Messenger to your website” section and click the “Get started” button. In the opened window you’ll need to find the “Let People Chat as a Guest” setting and disable the corresponding toggle.

 Please note, you will see the option if you are the owner of the page.

The detailed instruction to turn off/on guest chat is below
>  Edit the latest added Widget and click on the Text "this link" under Note, as shows in screenshot below.



> Login with your Facebook Admin Account, Go to Chant Settings > Messaginh and click on "Get Started".



>  Go to "Chat Plugin" Tab, and Under "Customize your Chat Plugin", Toggle the "Guest Chat" button to OFF.
>  Refresh the Page and Again Toggle the "Guest Chat" button to ON.
    • Related Articles

    • Jivo Chat Live Chat

      In this section, you will learn how to use Jivo Chat to handle all the live chats across all the 12+ social channels OCP supports. OCP support below social channels: Facebook Messenger Instagram WhatsApp Googel Business Messenger SMS Voice Slack Line ...
    • Why Facebook bot (chat widget) didn't respond?

      For privacy issues, even users login as their own Facebook profiles. Facebook sends their first one to two messages still with a Guest profile to OCP. User IDs of guests and real users are different. This causes a problem that, Facebook sends both a ...
    • Freshchat Live Chat

      OCP now enables it users to integrate its livechat with Freshchat, increasing their productivity by combining Freshchat’s livechat feature with OCP ’s automations. Integrating Freshchat With OCP On OCP ’s dashboard, click on integrations tab, scroll ...
    • Slack as Unified Live Chat Inbox

      We are going to show you how the OCP app inside of slack works and how you can use it to basically get a unified live chat inbox directly inside of your Slack Channel. This is of course perfect when you don’t want your clients to have access towards ...
    • How to turn off the Guest user option on Facebook?

      The following steps can only be performed by the page owner, these settings are not visible to page admins. To turn off the guest user feature please follow the steps below; 1- Go to your Facebook page 2- Click on Settings from the left menu 3- Go to ...