(email, event, properties=None)
Record an event in KISSmetrics.
    :param email: The email address by which to identify the user.
    :param event: The name of the event.
    :param properties: A dictionary or properties to set on the user.
    :return:
Record an event in KISSmetrics.
    :param email: The email address by which to identify the user.
    :param event: The name of the event.
    :param properties: A dictionary or properties to set on the user.
    :return:
Record an event in KISSmetrics . : param email : The email address by which to identify the user . : param event : The name of the event . : param properties : A dictionary or properties to set on the user . : return :
def track_workflow(email, event, properties=None):
    """
    Record an event in KISSmetrics.
    :param email: The email address by which to identify the user.
    :param event: The name of the event.
    :param properties: A dictionary or properties to set on the user.
    :return:
    """
    try:
        if analytics_enabled_for_email(email):
            timestamp = unix_time(datetime.utcnow())   # Dimagi KISSmetrics account uses UTC
            _track_workflow_task.delay(email, event, properties, timestamp)
    except Exception:
        notify_exception(None, "Error tracking kissmetrics workflow")
def track_workflow ( email , event , properties = None ) : try : if analytics_enabled_for_email ( email ) : timestamp = unix_time ( datetime . utcnow ( ) ) # Dimagi KISSmetrics account uses UTC _track_workflow_task . delay ( email , event , properties , timestamp ) except Exception : notify_exception ( None , "Error tracking kissmetrics workflow" )