Identify/Segment your Web Push subscribers

In this article, we describe how you can discover and segment-

  • Number of users who have granted web push permission on your website
  • Number of users subscribing to web push in a specified time duration
  • Number of users unsubscribing from web push in a specified time duration
  • Segment users on the basis of Web Page URL on which they subscribed to push notifications
  • Segment users on the basis of Web Page URL they viewed
  • Number of users receiving and clicking Web Push notifications 

Do ensure you have already integrated web push as mentioned here.

You will be running all these queries on Segmentation page on the MoEngage Dashboard. However, we also show the count of your Daily & Total Web Push Subscribers on Key Metrics page

Total Web Push Subscribers

To identify no. of users who have subscribed to Web Push Notifications, use the identifier Web Push Subscription Status and select True from the drop-down.

Screen_Shot_2017-03-23_at_3.34.23_PM.png

This will also enable you to identify the no. of subscribers who unsubscribed after subscribing to push notifications once.

Note: Earlier, web push subscribers were identified via Web Push Preference is Granted. We are phasing this user attribute soon and replacing it with Web Push Subscription Status which is dynamic and updates the user's push subscription status either when users visit your website or when we get a response from GCM about the user's push token.

Web Push Subscriptions

You can also find out how many users have subscribed to Web Push over a specified time (allowed time filters - in the last X days, in between 2 dates, before a date, after a date and on a date).

MoEngage identifier for this event is "Web User Subscribed". You can leave the attribute field empty.

Web Push Un-subscriptions

You can find out how many users have unsubscribed from Web Push over a specified time (allowed time filters - in the last X days, in between 2 dates, before a date, after a date and on a date).

MoEngage identifier for this event is "Web User Unsubscribed". You can leave the attribute field empty.

Screen_Shot_2017-03-23_at_3.48.07_PM.png

Note: There are two sources from where we get to know about users unsubscribing from Web Push Notifications. You can select the event attribute "Source" to distinguish between the two.

  1. Website: When users directly remove permission from the website and reload the page, we update the subscription status to False and create this event Web User Unsubscribed with event attribute Source as Website.
  2. Campaign: When users remove Push permission from Browser Settings, we get to know about the status from Push Services (GCM, AutoPush etc.) when a campaign is sent to that user. Again, we update the subscription status to False and create this event Web User Unsubscribed with event attribute Source as Campaign

Web Subscription URL

This user attribute helps you to identify the pages of your website on which users are subscribing to push. This can be useful for creating custom segments of users using "Web Subscription URL" contains "sports" and sending only sports related notifications to these users.

Screen_Shot_2017-03-23_at_4.02.39_PM.png

Web Page Viewed (MOE_PAGE_VIEWED)

This event helps you to identify the page of your website being viewed by the users. You can use this to create a segment containing users who viewed a specific landing page on your website and send relevant notifications. 

Screen_Shot_2017-03-23_at_4.04.56_PM.png

Note: A very good use-case of MOE_PAGE_VIEWED event is to send viewed/cart abandonment notifications to your subscribers and taking them directly to the web page they dropped off from. Read more here.

Notification Received / Clicked Web

This event helps you to identify the users receiving and clicking notifications from the campaigns that you have created. If you wish to identify this event for a particular campaign, mention the Campaign ID as an event attribute in this query.

Screen_Shot_2017-03-23_at_4.19.02_PM.png

In case you have any queries, you can always raise a support request from "Need Help?" drop-down. 

Have more questions? Submit a request

Comments