Last updated 5 years ago
To execute code after acquire app loads, push your code to acquire array using acquire.push().
acquire.push()
Make sure to put acquire.push() before init.js under <HEAD> section of your code.
<HEAD>
Method
Description
max()
Maximizes Chat Widget
min()
Minimizes Chat Widget
startChat()
Starts a new chat
myself()
Return current User Object
availableAgents()
Return list of available agents as Array
<script> window.acquire = window.acquire || []; acquire.push(function(){ // your code here will run // after acquire widget loads completely. }); </script>
acquireIO.max(); acquireIO.min(); acquireIO.startChat(); acquireIO.myself(); acquireIO.availableAgents();