Targeting with TagsΒΆ

To manage tags you need to build a Map<String, String> object with key/value pairs and then pass this to setTags -

Map<String, String> tags = new HashMap<>();
tags.put("gender", "female");
tags.put("age", "25");
tags.put("membership", "gold");
GeoMoby.setTags(tags);

NOTE - Using Geomoby.getInstance() can only be done after the Geomoby service is initialised. See Starting and stopping services for more information.