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.

Additional custom properties can be included using the index signature. All additional properties must be of type string or undefined.

const loginData: NotifyLoginInput = {
customerId: '12345',
email: '[email protected]',
phone: '+5511999887766',
customProperty: 'customValue'
};
interface NotifyLoginInput {
    customerId: string;
    email?: string;
    phone?: string;
    [key: string]: undefined | string;
}

Indexable

  • [key: string]: undefined | string

Properties

customerId: string

Unique identifier for the customer (required).

email?: string

User's email address in standard email format (optional).

phone?: string

User's phone number, preferably in international format with country code (e.g., +1234567890) (optional).