JavaScript ( Web )
Here's a guide that can enable you to trigger Airim from any custom link or button from your website/app
Introduction
airim('widgetOpen') // opens the widget
airim('widgetClose') // closes the widget
airim('widgetHide') // hides the widget and the launcher on the page
airim('widgetShow') // displays the widget on the pageIdentify Users
// identifier can be anything like email / username etc but should be unique
// name can be any string
// tags are meant to tag a user like 'new-lead' or 'happy-customer'
airim('identify','<identifier>',{
name: '<John Smith>',
phone: '<5552121222>',
email: '[email protected]',
tags: ['tag1','tag2']
})Callbacks
Custom positioning of the icon
Subscribe to events
Automatic Reload
Examples
Show Airim when a button is clicked on your UI
Open airim after some time
Last updated
Was this helpful?