.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 public TLDs (Top-Level Domains) like .com, .co, or .uk.
- To know about the public TLDs, which will not work with this API, click here.
Syntax
Copied$zoho.salesiq.domain(<DOMAIN>);
Example
Copied<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.domain("zoho.com");
}
</script>