Pushwoosh has two kinds of tags. Default tags (Language, Country, Application Version, Device Model and so on) are collected automatically for every device. Custom tags hold your own data and must be set by you.
1. Assigning Custom Tags
- Custom tags are not assigned automatically — you set them from your app via the Pushwoosh SDK, via the API (
/setTags), or manually per user in the Control Panel. - A tag must exist before you can use it in a segment.
2. Targeting users, including those without a tag value
On the Create Segment page, click Add filter by, pick your tag, then choose the operator.
The operators available depend on the tag type. For a String tag they are: is, is not, starts with, ends with, contains, in, not in, not set, any.
- Users with a specific value:
Interest is "sports". - Users who have no value for that tag at all:
Interest not set. ("not set" and "any" are available for every tag type.)
3. Combining the two
To reach users who match a value or have no value yet, add both conditions to the filter group and set the group operator to OR:
- Interest
is"news" - OR
- Interest
not set
Click the AND/OR label in the filter group header to switch the operator for the whole group.
Tip: enable Include all user devices if you want everyone matched on one device to be reached on all of their devices.
The equivalent segmentation-language expression is T("Interest", eq, "news") + T("Interest", notset).
Comments
0 comments
Please sign in to leave a comment.