• Resolved andersjytzler

    (@andersjytzler)


    Hey guys. Is it possible to not have the chat automatically open for the customer when they enter my website?
    I want it to just be the icon in the buttom right, without any messages shown.

    //Anders

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am looking for the opposite, mine doesn’t open automatically and I would like it to. Any idea how to get it to do that?

    Thread Starter andersjytzler

    (@andersjytzler)

    Haha, let’s switch codes? ??

    I use this 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/da_DK/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='XXXXXXMYPAGEIDHEREXXXXX'
        theme_color='#61b3aa'
        logged_in_greeting='Velkommen!
    Har Du sp?rgsm?l, st?r vi klar til at hj?lpe.'
        logged_out_greeting='Velkommen!
    Har Du sp?rgsm?l, st?r vi klar til at hj?lpe.'
      >
    </div>
    Thread Starter andersjytzler

    (@andersjytzler)

    I found the solution in here: https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/
    greeting_dialog_display=’hide’.
    To developers of plugin: You could maybe add these settings as configurable when clicking the “Edit customer chat”-button.

    Hi @andersjytzler

    Where did you place the ‘greeting_dialogue_display=’hide”? In the code snippet in the plugin settings? If so where abouts?

    Thread Starter andersjytzler

    (@andersjytzler)

    @attributeapparelaus try like this:

    <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/da_DK/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='XXXXXXMYPAGEIDHEREXXXXX'
        theme_color='#61b3aa'
        logged_in_greeting='Velkommen!
    Har Du sp?rgsm?l, st?r vi klar til at hj?lpe.'
        logged_out_greeting='Velkommen!
    Har Du sp?rgsm?l, st?r vi klar til at hj?lpe.'
        greeting_dialog_display='hide'
      >
    </div>

    Thanks guys ?? !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dont auto open chat’ is closed to new replies.