Use Workflow Automation to create pop-ups that will be triggered by API to customize when and which pop-ups should appear as part of your Live Chat.
Trigger
First, let's add a trigger. Make sure you choose the Triggered by API Event, Chat window as the data type and save.
Job
Now we create a Chat Popup box Job that will be executed by this trigger.
Here you may customize your Pop-Up box by choosing between six different layouts, choosing between different fields of content, Call to Action, Design customization, position and Handover.
Once you have created your custom Pop-up, click save and add this job to your trigger
Now you made activate the trigger to finish this setup.
Call Trigger API
Go to the triggers section and edit the proactive chat Pop-up trigger you just made. Once there, copy the trigger ID
Then paste the ID into this format to complete the API call: Brandembassy(‘ecxecuteTrigger’, ‘TRIGGER ID‘);
<script>
Brandembassy(‘executeTrigger’, ‘TRIGGER_ID‘);
<script>
Now you may use this script in your preferred Third-party Tag manager to trigger the pop-ups.
Comments
0 comments
Please sign in to leave a comment.