I’m looking a solution on this as well.
Found the solution, just add “greeting_dialog_display=’hide'” in the script.
I am a novice and I need a little more direction. Where exactly do I put the script you provided to auto hide the messenger display?
@batman8702 In the backend, you will see this code in the plugin settings. notice the last line of code.
<div id=’fb-root’></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
js = d.createElement(s); js.id = id;
js.src = ‘https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js#xfbml=1&version=v2.12&autoLogAppEvents=1’;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<div class=’fb-customerchat’
attribution=”wordpress”
page_id=’xxxxxx876987623′
greeting_dialog_display=”hide”
>
</div>
Thank you for the response. I put the greeting_dialog_gisplay=”hide” right under the page_id=***** but there was no change. I am sure that this is me missing something but I am not sure what. My goal is to achieve this: once a user opens my site and choose to close the chat greeting bubble, I want the greeting bubble to stay closed instead of opening every time a page is refreshed of=r changed. Any clues on what I may be doing wrong?
Clear your browser cache or check in incognito mode.
Try this:
greeting_dialog_display='hide'