- 1 Minute to read
- Print
- DarkLight
Set User Identifier
- 1 Minute to read
- Print
- DarkLight
Overview
The Set User Identifier feature allows you to assign a unique alias to each user, enabling efficient identification and segmentation across multiple devices. This alias serves as a unique identifier that links user data, preferences, and behaviors for a cohesive experience across platforms.
Use Case Overview
Purpose:
Associate users with a specific identifier like email addresses, system-generated IDs, or other unique data points.
Enable consistent user segmentation for personalized engagement and targeted communication.
Benefits:
Link multiple devices (e.g., smartphones, tablets) under a single user profile.
Facilitate advanced segmentation by user-specific properties.
Enhance reporting accuracy and marketing strategy effectiveness.
Implementation Details
Alias Management
Setting an Alias: Assign a new alias to identify a user across their devices.
Retrieving an Alias: Fetch the alias associated with a specific device.
Removing an Alias: Disassociate the alias from a device.
Technical Implementation
Set Alias:
Appoxee.instance().setAlias("user12345");
Get Alias:
String alias = Appoxee.instance().getAlias();
Remove Alias:
Appoxee.instance().removeAlias();
Keep in mind:
The alias is user-specific and shared across all their devices, ensuring a unified user profile.
An alias can only be assigned to one user at a time but can be used across multiple devices owned by the user.