Trigger Module
- Last updated on October 29, 2023 at 10:50 PM
What is the Trigger Module?
The Trigger Module is used to integrate existing chat services into the Elevio Assistant. When your users click on the trigger module it will open your chat service so they can communicate with you through that assisted channel.
When the user clicks on the Trigger, it will open the Live Chat window, you have the option to close the Assistant at the same time to keep your interface clean (the Live Chat does not open within the Assistant, but in its own native, default popup).
Currently the Trigger Module supports
- Carrot Quest
- Chatlio
- Chatra
- Digital Genius
- Dixa
- Drift
- FreshDesk Chat
- FreshChat
- FrontChat
- HelpScout Beacon
- Hubspot Chat
- Intercom
- LiveChatInc
- Olark
- Re:amaze
- Smooch
- SnapEngage
- UserEngage
- Tagove
- TalkUs
- Userlike
- Zendesk Chat (formerly Zopim)
We also have support for creating custom triggers.
Important:
If you're setting up a trigger to open up a chat window, you will need to have the chat software pre-installed on your site.Elevio does not install the chat for you.
Hiding the default chat button
When you install a third party chat service, it will likely still show their default chat button. If you would like to hide their button, and rely solely on the Elevio Assistant and the Trigger, you can check the chat providers documentation to learn how to hide the chat button.
An example of hiding the chat button with Freshchat can be seen here: https://codepen.io/elevio/pen/PXGZVb
Code run for each trigger
For clarity, below is the code that is run for each trigger type to display the third parties chat widget:
Carrot Quest
window.carrotquest.open();
Chatlio
window._chatlio.show({ expanded: true });
Chatra
window.Chatra('openChat', true);
Digital Genius
window.dgchat.init()
Dixa
window._dixa('api.setView', 'conversation');
Drift
window.drift.api.sidebar.open();
FreshDesk Chat
window.Freshchat.maximizeChat();
FreshChat
window.fcWidget.open();
FrontChat
window.FrontChat('show');
HelpScout Beacon
window.Beacon('open');
Hubspot Chat
If HubSpotConversations is installed:
window.HubSpotConversations.widget.open();
If HubSpot.Messages is installed
window.hubspot.messages.EXPERIMENTAL_API.requestWidgetOpen();
Intercom
window.Intercom('show');
LiveChatInc
window.LC_API.open_chat_window();
Olark
window.olark('api.box.expand');
Re:amaze
window.Reamaze.popup();
Smooch
window.Smooch.open();
SnapEngage
window.SnapEngage.startLink();
UserEngage
window.UE.chat.expand();
Tagove
window.tagoveApp.max('text');
TalkUs
window.talkus('open');
Userlike
window.userlike.userlikeStartChat();
Zendesk
window.zE.activate();
Zopim
window.$zopim.livechat.window.show();