Segments are built using Tags, which are key-value pairs assigned to users. A UserID is a unique identifier, but it is not a Tag by default and cannot be used directly in segment conditions.
To target users based on their UserID, you must first assign their UserID as a Tag value to their user profile. You can do this for one or more users by using the Update tags via CSV feature.
Steps to Assign UserIDs as Tags
-
Create a CSV file. The file should contain at least two columns: one for identifying the user (e.g.,
UserID) and another for the Tag you want to assign. For example, to create a Tag calleduser_identifierwith the UserID as its value:UserID,user_identifier user-id-123,user-id-123 user-id-456,user-id-456 Navigate to the import tool. In your Pushwoosh control panel, go to the "Update tags via CSV" section.
-
Upload and map your file. Upload your CSV file and map the columns to the corresponding fields.
- Map your
UserIDcolumn to the 'Device identifier'. - Map your
user_identifiercolumn to the 'user_identifier' Tag.
- Map your
Start the import. Once the import is complete, the Tag will be assigned to the specified users.
Create your segment. You can now create a segment with the condition: "Tag
user_identifierisuser-id-123" to target that specific user.
For more detailed information, please refer to our documentation on updating Tags via CSV.
Comments
0 comments
Please sign in to leave a comment.