Ampli Wrapper

The Ampli Wrapper exposes a convenient, strongly typed API that matches the definitions in your Tracking Plan. The tracking library generated by ampli pull is used to track and validate event sent to Amplitude Data. Ampli generates the tracking library on-the-fly to match your tracking plan precisely. This means that instead of tracking events like this:

JSONObject props = new JSONObject();
props.put("name", "Moto 360");

  "Product Viewed",

You track them like this:

  name = "Moto 360"

No more typos, forgotten properties, and boilerplate code. The Ampli Tracking Library is like autocomplete for your analytics.

Was this page helpful?