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:

1JSONObject props = new JSONObject();
2props.put("name", "Moto 360");
5 "Product Viewed",
6 props

You track them like this:

2 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?

Thanks for your feedback!

May 10th, 2024

Need help? Contact Support


Have a look at the Amplitude Blog

Learn more at Amplitude Academy

© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.