User signed out
Learn how to track when a user logs out.
This event tracks when a user logs out of their account.
Automatically tracked
The SDK automatically tracks this event when you anonymize the user.
Implementation
Here is an example of how to track this event:
example.js
JavaScript
123
import croct from '@croct/plug';
croct.anonymize();
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": "userSignedOut", "externalUserId": "0e8d3d6e-4b6d-4b7b-8e0f-2e3b9e7b3e4d"}