diff options
author | raylu <raylu@mixpanel.com> | 2011-11-08 23:45:11 -0800 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-11-08 23:45:11 -0800 |
commit | 54e178dd54c5dfd186d3ebd66a3fff2ccc50cbcb (patch) | |
tree | c6a3f7e41f1c8fa956883f724c2d74c06025457b | |
parent | b526438feb86bb547f4369cd4c42a4a8160a6df8 (diff) | |
download | audioaxis-54e178dd54c5dfd186d3ebd66a3fff2ccc50cbcb.tar.xz |
-rw-r--r-- | mixpanel.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mixpanel.go b/mixpanel.go index 7c432bf..435faec 100644 --- a/mixpanel.go +++ b/mixpanel.go @@ -26,6 +26,9 @@ func track(event, ip, id, song, user string) { } if user != "" { properties["user"] = user + if user != "anonymous" { + properties["mp_name_tag"] = user + } } data["properties"] = properties |