Pushwoosh offers different types of tags. Default Tags (like Language, Country, Application Version) are automatically collected for each device. For more specific segmentation based on user preferences or behaviors, you'll use Custom Tags.
Here's how to work with Custom Tags and target users, including those who may not have specific Custom Tags assigned:
Assigning Custom Tags:
- Custom Tags allow you to categorize users based on your unique criteria (e.g., interests like "sports" or "news", subscription status, etc.).
- Unlike Default Tags, Custom Tags are not automatically assigned to all users. You need to implement logic to assign these tags.
- You can assign Custom Tags to users through several methods:
- Your application's code using Pushwoosh SDK methods.
- Programmatically via API requests.
- Manually for individual users via the Pushwoosh Control Panel.
Targeting Users with Segments (Including Those Without Specific Tags):
- To send notifications to a combined audience—such as users with specific tag values and users who haven't had a particular tag assigned yet—you should use Segments.
- When creating or editing a Segment, you can define precise conditions:
- To target users with specific tags: Add a condition like "Tag
YourTagName
CONTAINSvalue
" (or other operators like EQUALS, EXISTS, etc., depending on your needs). For example,Tag "Interest" EQUALS "sports"
. - To target users who do not have a specific tag assigned: Add a condition like "Tag
YourTagName
IS EMPTY". This condition identifies users for whom this particular tag has not been set at all.
- To target users with specific tags: Add a condition like "Tag
- Combining Conditions:
- If your goal is to target users who meet either the specific tag criteria OR have no value for that tag, use the OR operator to connect these conditions within your Segment.
- For example, to target users interested in "news" OR users who have not yet specified any interest for the "Interest" tag, your segment logic would be:
- (Tag "Interest" EQUALS "news")
- OR
- (Tag "Interest" IS EMPTY)
- This approach ensures you can effectively communicate with users who have provided specific information via tags, as well as those who are new or have not yet been tagged with that particular attribute.
Comments
0 comments
Please sign in to leave a comment.