Question:
We want to send a push only to the users currently living in X country. How do we do that?
Answer:
Our Default Tag called "Country" can do the trick! If you are planning to send those pushes frequently, we recommend to create a Filter first - this way there will be no need to specify the conditions of this push every time you want to send it.
The filter could be created in the corresponding "Filters" tab.
Then press "Add filter" button and fill the conditions like the following (of course, choosing the country you want to target):
After that, you can use this filter while sending the pushes from both Control Panel and Remote API.
Control Panel:
Proceed to the "Send Push" form, make all the necessary adjustments to the content of the push you are willing to send, then pick the filter you've created:
Remote API:
Simply add the following line to your `/createMessage` request:
"filter": "FILTER_NAME"
Please make sure to correctly specify the name of your filter as a value.
That's it!
Comments
0 comments
Please sign in to leave a comment.