Custom tracking
By default, the viewer sends a single tracking HTTP request to configured Image Server with the viewer type and version information.
To integrate with third-party analytics systems, it is necessary to listen to the trackEvent
viewer callback and process the eventInfo
argument of the callback function as necessary. The following code is an example of such handler function:
The viewer tracks the following SDK user events: