mixpanel / mixpanel-java

Other
49 stars 37 forks source link

Passing $email in storing user profiles gives error #28

Closed krupak closed 8 years ago

krupak commented 8 years ago

Hi, I am required to have mixpanel integrate with my Grails project. When I pass $email property in JSONObject while creating the user profile it gives error. As $email property is required to send email notification from the mixpanel site. Kindly help with some example to set $email property for user profiles so that I can send email notification.

Thanks and awaiting your reply.

JensRantil commented 8 years ago

@krupak This repository is rather dead. You might get a faster response by contacting the Mixpanel support.

patedit commented 8 years ago

Hi @krupak! Following this example: https://github.com/mixpanel/mixpanel-java/blob/master/src/demo/java/com/mixpanel/mixpanelapi/demo/MixpanelAPIDemo.java#L95

You should be able to add namePropsMap.put("$email", "krupak@github.com");

What's the problem that you are having? :)

krupak commented 8 years ago

Thanks :+1: