Hello!
Greetings from Zoho SalesIQ team.
In order for you to pass the information of a visitor like name, email, phone etc. from your website login/database to SalesIQ, you need to use the SalesIQ API’s provided below.
$zoho.salesiq.visitor.name(“<Name>);
$zoho.salesiq.visitor.email(“<Email>”);
$zoho.salesiq.visitor.contactnumber(“< NUMBER >”);
Sample Implementation:
<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.visitor.name("John Smith");
$zoho.salesiq.visitor.email("[email protected]");
$zoho.salesiq.visitor.contactnumber("1-541-754-3010");
}
</script>
These API’s will automatically fetch the information from the logged in customers and auto-populate it in the SalesIQ pre-chat form.
You can paste these API’s right below the SalesIQ code in your website for it to take effect. However, please note API’s will not be supported in the SalesIQ plugin in WordPress. If you are using the SalesIQ plugin in the WordPress, please deactivate it and paste the SalesIQ code along with the above API’s directly in the header.php or footer.php file.
You can go to Appearance -> Themes -> Header.php or Footer.php -> Paste the SalesIQ code along with the API’s in between the <body> and </body> tags.
Regards,
Aslam
Zoho SalesIQ