@analytics_task()
def identify(email, properties):
    api_key = settings.ANALYTICS_IDS.get("KISSMETRICS_KEY", None)
    if api_key:
        km = KISSmetrics.Client(key=api_key)
        res = km.set(email, properties)
        _log_response("KM", {'email': email, 'properties': properties}, res)
        # TODO: Consider adding some better error handling for bad/failed requests.
        _raise_for_urllib3_response(res)
Set the given properties on a KISSmetrics user.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/analytics/tasks.py/identify