How to get number of users who have enabled or disabled push permission.

Follow

To get the number of users based on their push permission two different segments need to be created. 

 

How to create a segment for users with push enabled:

Step 1:

Go to the Segment creation page. You can find it under Manage on your dashboard.

Screen_Shot_2019-08-13_at_10.25.52_AM.png

Step 2:

Click on create Segment button.

Screen_Shot_2019-08-13_at_10.25.52_AM.png

Step 3:

 Name the segment. For example, User with push permission enabled.

Step 4:

For Android:

-Select Properties from the filter menu.

-Select 'swrve.permission.notifications_enabled'

-Select 'is' as operator

-Add Value 'True'.

-Click on save segment button.

Screen_Shot_2019-08-13_at_10.37.33_AM.png

For iOS:

-Select Properties from the filter menu.

-Select 'swrve.permission.ios.push_notifications'

-Select 'is' as operator

-Add Value 'authorized'.

-Click on save segment button.

Screen_Shot_2019-08-13_at_10.43.18_AM.png

 

How to get User with push disabled:

Step 1:

Go to the Segment creation page. You can find it under Manage on your dashboard.

Screen_Shot_2019-08-13_at_10.25.52_AM.png

Step 2:

Click on create Segment button.

Screen_Shot_2019-08-13_at_10.25.52_AM.png

Step 3:

 Name the segment. For example, User with push permission disabled.

Step 4:

For Android:

-Select Properties from the filter menu.

-Select 'swrve.permission.notifications_enabled'

-Select 'is' as operator

-Add Value 'false'.

-Click on save segment button.

Screen_Shot_2019-08-13_at_10.55.20_AM.png

For iOS:

-Select Properties from the filter menu.

-Select 'swrve.permission.ios.push_notifications'

-Select 'is' as operator

-Add Value 'denied'.

-Click on save segment button.

Screen_Shot_2019-08-13_at_10.53.03_AM.png

 

Once the segments are saved it will start populating as soon as users interact with the app and Swrve SDK is initialized. You can use this segment to target those users with different campaigns.  

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk