How to integrate the HelpScout with Faqprime?

1Answer

Integration Steps

1. Go to the Widget Settings > Live Chat and select others as a chat option.

2. Add the following code with Faqprime Standard Code and you are done.

var faqbotMyVar = setInterval(faqbotMyTimer, 200);

 

function faqbotMyTimer() 
{
             if (typeof Beacon !== 'undefined') {
                  if (document.getElementsByClassName("BeaconFabButtonFrame").length > 0)
                  {
                     document.getElementsByClassName("BeaconFabButtonFrame")[0].style.display="none";
                     Beacon('on', 'open', () => document.getElementsByClassName("BeaconFabButtonFrame")[0].style.display="block");
                     Beacon('on', 'close', () => {document.getElementsByClassName("BeaconFabButtonFrame")[0].style.display="none";document.getElementById("faq-bot-button").className = "faq-bot-button"});
                     clearInterval(faqbotMyVar);
                 }
        }
}

 

function faqbotChatExecution()
{
    Beacon('open')
}

Did this answer your question?
...