Hi,
I encountered the following problem:
When using the Android SDK I would like to send the user's individual game score as a numeric value together with an action.
So in Android I normally use
- HashMap cdata = new HashMap<String, Object>();
- cdata.put("myapp.evar.game_score", 12345);
- Analytics.trackAction("myapp.action.game_score_changed_action", cdata);
The eVars are created in the web dashboard. This work nice for a defined set of values, but doesn't work very well for numeric values.
I would like to apply a filtering like "greater than 1500" but this is not possible like this since every value is just a string.
How is it possible to track these numeric values?
I've read a lot in the documentation and assume it could be some kind of events with
cdata.put("&&events", "myapp.event1=12345");
But I'm not sure about this and have no clue what to create in the web dashboard to work together with this.
Or maybe I should use some kind of counter variable?
How is this done correctly?
Thanks in advance!