To send push notifications to users based on the city they are in, you should use Segments in Pushwoosh.
Pushwoosh can automatically collect city information as a user attribute (Tag) called City
, provided location services are enabled on the user's device and your app has the appropriate permissions.
Steps to target users by city:
1. In your Pushwoosh control panel, navigate to the Segments section.
2. Click on Create Segment (or a similar option to add a new segment).
3. Define the segment criteria:
* Select the City tag.
* Set the condition (e.g., "City is [Your Desired City Name]" or "City matches [Your Desired City Name]").
4. Give your segment a descriptive name and save it.
5. Once the segment is created, you can select it in the targeting options when you compose and send a push notification.
This method allows you to create a reusable group of users based on their city, which is different from Geozones that trigger notifications based on real-time entry/exit of smaller, specific areas.
Comments
0 comments
Please sign in to leave a comment.