Object containing user identification and contact information.
Input parameters for notifying external agents about user login events.
This interface defines the user information that will be sent to multiple external tracking and analytics services such as AppsFlyer, Facebook, Google, and Eitri Push Server.
Unique identifier for the customer (required).
Optionalemail?: stringUser's email address in standard email format (optional).
Optionalphone?: stringUser's phone number, preferably in international format with country code (e.g., +1234567890) (optional).
Promise that resolves to undefined once the notification has been dispatched.
Basic usage with required fields:
await Eitri.exposedApis.session.notifyLogin({
customerId: '12345'
});
Complete usage with all available fields:
await Eitri.exposedApis.session.notifyLogin({
customerId: '12345',
email: '[email protected]',
phone: '+5511999887766'
});
Notifies multiple external agents of a logout's occurrence.
This method sends logout notifications to various external tracking and analytics services, including AppsFlyer, Facebook, Google, and Eitri Push Server. This ensures proper session termination tracking and helps maintain accurate user session analytics across multiple platforms.
Promise that resolves to undefined once the notification has been dispatched.
Notifies multiple external agents of a login's occurrence.
This method sends user login information to various external tracking and analytics services, including AppsFlyer, Facebook, Google, and Eitri Push Server. This enables proper user session tracking, attribution, and analytics across multiple platforms.