Skip to main content

Chat Nudge

Updated over 2 weeks ago

Have you installed a chat tool for your visitors to use while browsing your website? Great! Do you feel that they're not always using your chat the way they could? Probably. With Triggerbee, it is possible to nudge your website visitors about your chat and all its possibilities. With a small JavaScript, it is possible to open the chat window based on Triggerbee audiences and triggers - to allow your visitors to get the help right when they need it.

How it works

Most chatbots provide a JavaScript API that allows you to open, close, and interact with the chatbot via script - eg, open the chat on a button-click. Because of this, you can build a campaign in Triggerbee that will open your chat on click, allowing you to nudge your visitors about assistance based on their website behavior, eg. when they are inactive, are returning, or have a certain product in their cart.

It is also possible to open your chatbot directly, without having a Triggerbee campaign as a layer between. To do so, you can do an empty campaign and put the script as a Custom Script.

How to:

1. Navigate to Campaigns and create a new campaign, and design it as you wish.

We recommend that you build a small callout with only a button that you position slightly over your ordinary chatbot.

2. On the button action, select the option "Close widget" and activate the "Execute script". This is where you add the JavaScript to open your chat. You will also need to activate the "Click-tracking" checkbox on the button, since "close widget" will stop the click tracking.

Example script:

zE.activate();

3. For the first row, add the JavaScript from your specific chat. Here are some examples. If your chat is not on this list, please reach out to them and ask them for a JavaScript API call to open your chat.

  • Intercom = Intercom("show");

  • Zendesk = zE.activate();

  • Ebbot = Ebbot.openChatWindow();

  • Helpdesk = Beacon('open'); Beacon('navigate', '/ask/chat/')

  • Kundo = $kundo_chat.start_chat();

  • Facebook Messenger = FB.CustomerChat.showDialog();

4. Preview the campaign to make sure that a click on the widget opens your chat.
​

5. Go to Campaign Settings and select what audience and triggers you want for your campaign. For instance, it could be all visitors who have something in their carts and are inactive for 10 seconds.

6. Publish your campaign to start nudging your visitors!

Did this answer your question?