mixpanel in dev mode coffeescript
unless mixpanel?
window.mixpanel =
track: (st) ->
console.log 'mixpanel', st
identify: (st) ->
console.log 'mixpanel',st
people:
set: (st) ->
console.log 'mixpanel',st
Written by charlie
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Coffeescript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#