Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Ability to log event properties using a Map similar to Mixpanel #148

Open
agramian opened this issue Jul 27, 2017 · 1 comment
Labels
enhancement New feature or request

Comments

@agramian
Copy link

Mixpanel allows setting event properties by passing a Map<String, Object> properties using set*Map() methods. It would be nice to have this same functionality with Amplitude.

@thsaravana
Copy link

thsaravana commented Oct 8, 2017

Yes. Construction of a JSONObject is really messy in the client code. It would be better to do the Map -> JSONObject conversion within the AmplitudeClient.

Can't we have similar methods like logEvent() that takes Map instead of JSONObject? And perform final JSONObject jsonObject = new JSONObject(map); within those methods?

@jooohhn jooohhn added enhancement New feature or request and removed type: feature labels Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants