Login function

analytics.login(#user_id, #account_id)

A Login function request is mandatory at the start of every client session or in case of a fresh login to define Account and User for which Features are to be tracked.

This function logs a login event for a user and defines Account and User being tracked on a client.

analytics.login(#user_id, #account_id)

Example

analytics.login("john.doe@acme.com", "ACME343rq");