.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
Example 1:
Copied
Example 2:
Copied