.salesiq.domain()

This API allows you to track the visitor’s data and continue live chat sessions across sub-domains within the same domain. 

For example, you own the shopping.zylker.com and cars.zylker.com, then you can use this API to track visitors and chat with them in a single session. Without using this API, sessions will be miscalculated and the referral data gets lost.

Specify the parent domain as explained in the example, and track the data of the visitors visiting both the URLs together.

Note:

  • In this example the root domain is not changed.
  • This API will not work for the public suffixes like .com, .co, .uk, etc.
  • To know about the public suffix, which will not work with this API, click here.

Syntax


				$zoho.salesiq.domain(<DOMAIN>);			

Example


				<script>
$zoho.salesiq.ready=function()
{
   $zoho.salesiq.domain("zoho.com");
}
</script>