User signed in
Learn how to track when a user logs into their account.
This event tracks when a user logs into their account.
Automatically tracked
The SDK automatically tracks this event when you identify a user.
Implementation
Here is an example of how to track this event:
example.js
JavaScript
123
import croct from '@croct/plug';
croct.identify('0e8f3b9e-8b5a-4f5c-9b8a-0e8f3b9e8b5a');
Input properties
This event has no input properties.
Processed properties
These properties are automatically tracked:
- externalUserIdstring
The user's unique identifier provided by the application, such as a UUID or a username.
The value must be between 1 and 100 characters long.
Payload examples
Below are some payload examples for this event:
1234
{ "type": "userSignedIn", "externalUserId": "0e8d3d6e-4b6d-4b7b-8e0f-2e3b9e7b3e4d"}