Menu
Amazon Mobile Analytics
User Guide

Creating a Monetization Event

When a user of your app makes a purchase, the app code handling the purchase sends a monetization event. Data from monetization events are used to enable and populate revenue-focused reports in the console such as Average Revenue Per User (ARPU) and others.

Creating a Monetization Event in iOS Apps

When a user of your app makes an in-app purchase, you can create a monetization event that helps you track the monetary performance of the app. To do this in an iOS app using the AWS Mobile SDK create a builder object to hold data returned by the Apple App Store. You then use the builder object to build a monetization event you submit with the event client object.

For information about creating monetization events in iOS apps, see:

Creating a Monetization Event in Android Apps

When a user makes an in-app purchase, you can create a monetization event to help you track the app's monetary performance. To do this in an Android app using the AWS Mobile SDK, create a builder object to hold data returned by the online store. There are distinct builder object classes to handle purchases from the Amazon store, the Google Play store, and from an IAP framework not defined by a specific builder. You then use the builder object to build a monetization event you submit with the event client object.

For information about creating monetization events in Android apps, see:

Creating a Monetization Event in JavaScript Apps

When a user of your app makes an in-app purchase, you can create a monetization event to help you track the app's monetary performance. To do this in a JavaScript app using the Mobile Analytics SDK for JavaScript, you call a method on the manager object, passing the purchase data as parameters.

For information about creating monetization events in JavaScript apps, see Mobile Analytics SDK for JavaScript.

Creating a Monetization Event in Unity or Xamarin Apps

When a user of your app makes an in-app purchase, you can create a monetization event to help you track the app's monetary performance. To do this in a Unity app using the AWS Mobile SDK for Unity or a Xamarin app using the AWS Mobile SDK for Xamarin, create a monetization event object to hold data from the online store. Populate the purchase data, and then submit the monetization object to a method on the service object.

For information about creating monetization events in Unity or Xamarin apps, see: