Sending Custom Events

The Android SDK supports sending custom events to FeedAd.
This way you can track user interactions with your app including the resulting revenue (e.g. in-app purchases).

Requirements

Integration

1. Create an Event

// simple event with just a name
CustomEvent event = new CustomEvent("event-label");

// an event with a revenue attached to it (1,99 €):
CustomEvent event = new CustomEvent("event-label", 1990, "EUR");

Check the class documentation inside the IDE to learn more about the event constructor parameters.

2. Send the Event

FeedAd.sendCustomEvent(event);

An event can be sent at any time and from any thread.