Direct Action Links - Widget
You’re installing Consolto but prefer to trigger the widget directly through links to your website or ClickNTalk page.
The widget can trigger one of the following actions:
- Start chat ==> start chat
- Start video call ==> start call
- Start audio call ==> start audio call
- Start scheduling ==> start scheduling
- Start Contact form ==> start form
-
IMPORTANT NOTE: Before you continue, please note there are separate instructions for “Multi-agent” widget and “Single-agent”.
If you embed the script into your website from the “Team Center” (available in our Enterprise plan), use the “Multi-agent widget” instructions.
Otherwise, use the “Single-agent widget” instructions.
Path 1: Single-agent widget
To trigger actions immediately on page load, add the Consolto start parameter:
www.yourwebsite.com/?consolto-start=textchat
Notes:
1. The URL parameters are slightly different than the programmatic texts:
- Start chat ==> textchat
- Start video call ==> videocall
- Start audio call ==> audiocall
- Start scheduling ==>scheduling
- Start scheduling ==> form
-
2. Opening the widget (with no action) is controlled via the Consolto backoffice itself.
Path 2: Multi-agent widget
To trigger actions immediately on page load, add the Consolto start parameter:
Example:
www.yourwebsite.com/?consolto-start=textchat&consolto-agent-id=agentIdHere123123132
Notes:
1. The URL parameters are slightly different than the programmatic texts:
- Start chat ==> textchat
- Start video call ==> videocall
- Start audio call ==> audiocall
- Start scheduling ==>scheduling
- Start scheduling ==>form
-
2. Make sure to provide the agentId otherwise nothing will happen.
3. Opening the widget (with no action) is controlled via the Consolto backoffice itself.