To remove users from a specific segment, you can update the filter parameter in the embedded script. If, for example, your current filter is filter: 'test1;test2'
and you want to remove the ‘test2
‘ segment, you should change it to filter: 'test1'
. This will effectively remove ‘test2
‘ for those users.
Alternatively, you can set the filter to an empty string, like filter: ''
, to clear any existing filters. Since filters are updated in real-time, these changes will be reflected immediately when users visit your website.
If you want to avoid mistakenly segmented users from receiving notifications, consider assigning a new filter. For example, you could switch from ‘test1
‘ to ‘test_1
‘ and use this new filter for the correct users. Notifications targeted to ‘test_1
‘ will not reach users who were previously assigned ‘test1
‘.
For more information on using user segmentation, check out this documentation: How to Use Segmentation.