JSONObject data = new JSONObject(); try { data.put("page", "Example page"); } catch (JSONException e) { e.printStackTrace(); } Gleap.getInstance().trackEvent("pageView", data);