// Code that send data to heartbeat API about Online user
jQuery(document).ready(function($) {
    $(document).on('heartbeat-send', function(event, data) {
        data['check_online_status'] = true;  // Send data to backend
    });
});
