DashboardService.closeVisit Method

Closes the usage tracking visit corresponding to the specified view. Uses fetch with keepalive to ensure the request completes even when called during page unload.
 

Parameters

id

Type: String
The ID of the view to close the visit for.

Return Value


Type: jQuery.Promise
A promise that is resolved when the call is complete.