def METHOD_NAME(user, app_name):
    """
    Emit an event when a notification is read.
    """
    tracker.emit(
        NOTIFICATION_APP_ALL_READ,
        {
            'user_id': str(user.id),
            'notification_app': app_name,
        }
    )