AppsFlyer

Overview

GoNative'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 GoNative JavaScript Bridge.

Implementation Guide

Once the premium module has been added to your app, you may use the following GoNative 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.

↔️GoNative JavaScript Bridge

gonative.appsflyer.setCustomerUserId(STRING id);

Log a Custom In-App Event

↔️GoNative JavaScript Bridge

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