.visitor.customaction()

This API would let you track specified custom actions if performed by the visitors on your website. Do remember that this API is not just meant for Onclick actions.

Note: The Maximum character limit for the custom action is limited to 250. If you use more than that then the action will not be considered.

Syntax

Copied$zoho.salesiq.visitor.customaction(" < Any custom action > ");

Example 1:

Copied<script>

$zoho.salesiq.ready=function()
{
   $zoho.salesiq.visitor.customaction("Track-Signup-button");
}

</script>

Example 2:

Copied<a onclick='$zoho.salesiq.visitor.customaction("Track-signup-button")'> SignUp </a>