Skip to main content

Basics of Preference Center

A Notification Preference Center is an important feature for any app that sends out notifications to their users. It gives power to your users to choose how and when they want to be notified. Not having such a fine-graned preference module might force your users to turn off all notifications from your product.

With Engagespot, building a Notification Preference Manager (like the one below) in your product is a piece of cake! Let's learn how to build that in less than 30 mins.

Concepts

Before we dive in, make sure you're familiar with the core concepts of Engagespot.

Category

Category is used to tag notifications in a group. For example, in your app you might send notifications to your users when someone comments on their photo, or in-the case of an e-commerce platform, when someone places a new order.

Read more in Categories chapter.

Channel

Channel is the medium through which a notification is delivered. Channels can be In-App, Web Push, Mobile Push, Email or SMS. Read more in Channels chapter.

What is Preference?

A preference is a rule set by your user that defines through which channels they want to be notified for a notification from a particular category. For example, a user can set preference to receive New Comment notifications only through In-App push channel. Another example is - Receive security notifications via Email and SMS.

Here New Comment and security are notification categories, and In-App, Email, SMS are channels. Now let's learn how to set preference for a user through REST API and Javascript Core SDK.