How to disable automatic messenger greeting on chat plugin

Highlighted
Tourist
33 0 1

I inserted the following code into my theme css after the first <body> tag. This enabled me to get the Facebook Messenger inside an app without being switched to other apps  which helps to keep the user on my sales channel.

 

<script>
window.fbAsyncInit = function() {
FB.init({
appId : '1163199097047119',
autoLogAppEvents : true,
xfbml : true,
version : 'v3.2'
});
FB.CustomerChat.show(true);
};
</script>
<script async defer src="https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js"></script>
<div class="fb-customerchat"
page_id="ATTENTION_PAGE_ID_GOES_HERE">
</div>

 

However, I am not liking the way that the greeting message automatically pops up whenever a page is loaded. How do I disable the automatic messenger greeting?

 

 

 

1 Like

Hey apothecarystore!

 

You can use a Facebook Messenger Marketing App that helps you activate FB Messenger Chat and configure Greetings & welcome message the way you want. 

 

You can use Flashchat which is Free and also enables you to automate targeted campaigns on FB Messenger to all visitors who will use Messenger Chat. So you can go from support to conversion. 

 

Let me know if you need any further help with that. 

 

Cheers, 

Vaios

0 Likes