Description
You can mark your subscribers with tag to group them by some criteria. Tags can be used for targeting and segmentation purposes, as well as for marking URLs they will receive in the message.
Since tag is just an arbitrary text that can be assigned to a subscriber, there are no strict rules for how to use them. However, if certain data types are expected there and tags are supposed to be used for audience segmentation, it should be set there explicitly.
How it works
Subscriber tags can be set via the API or with a Javascript SDK (considering that NASHPUSH SDK is installed on the website):
window.webPushSubscriber.setTag("color", "red");Specifics and limitations
Tag key
A single key can be assigned to a subscriber multiple times with different values. This allows you to store multiple values for a single key.
When to apply
Tags can be set at any time. If tag is set before the subscription happens, it will be stored in the database and will be available for the subscriber once it’s record is created. There is no particular order in which tags should be set.