AppsFlyer

Overview

Median's AppsFlyer Native Plugin provides app installation and event recording functionality. You can record app installs, updates, sessions, and in-app events. Recording these events can help you evaluate ROI and user quality.

All default events will be recorded automatically. Custom in-app events can be sent using the Median JavaScript Bridge.

Implementation Guide

Once the premium module has been added to your app, you may use the following Median JavaScript Bridge commands to access its functionality.

Associating a User

Setting your own customer ID enables you to cross-reference your own unique ID with AppsFlyer’s unique ID and other devices’ IDs.

↔️Median JavaScript Bridge

median.appsflyer.setCustomerUserId(STRING id);

Log a Custom In-App Event

↔️Median JavaScript Bridge

median.appsflyer.logEvent(STRING eventName, OBJECT eventValues); // eventValues is a JavaScript object