Overview
Tags in Android applications label and categorize users based on their app interactions or preferences. These tags enable targeted messaging and segmentation for personalized user engagement.
Use Case
Purpose:
Categorize users into meaningful segments (e.g., "Dog Owners," "Frequent Shoppers").
Enable dynamic push notifications based on user-defined tags.
Benefits:
Simplify user segmentation for marketing campaigns.
Increase user engagement by delivering relevant content.
Implementation Details
Add a Tag:
Assign a tag to a user device.
// Add a tag Appoxee.instance().addTag("DogOwner");
Remove a Tag:
Remove an assigned tag from a user device.
// Remove a tag Appoxee.instance().removeTag("DogOwner");
Fetch Device Tags:
Retrieve all tags associated with a user device.
// Fetch all tags Set<String> tags = Appoxee.instance().getTags();
Clear Tags Cache:
Clear cached tags on the device.
// Clear tags cache Appoxee.instance().clearTagsCache();
Keep in mind:
Tags are app-specific and allow for multiple tags per user device.
Use meaningful tag names to simplify campaign management.
Test tag addition, removal, and retrieval processes for accuracy.