Created
August 9, 2013 13:38
-
-
Save jinqian/6193642 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // MIXPANEL send a open scanner event | |
| JSONObject properties = new JSONObject(); | |
| try { | |
| properties.put("merchant", c.getMerchant()); | |
| properties.put("catalog name", c.getName()); | |
| properties.put("hour of the day", hourOfTheDay()); | |
| } catch (JSONException e) { | |
| e.printStackTrace(); | |
| } | |
| mMixpanel.track("open a scanner", properties); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment