Personalisation

Personalisation is the ability to add specific subscriber data to notification fields. For example if you have one subscriber called “Joseph” and another called “Andrew”, you can send a notification with a title which will read “Hello Joseph” to the first and “Hello Andrew” to the other

Personalisation Variables

Personalisation Variables are placeholders that you can use within your notification text. When a device receives a notification with one or more of these placeholders, the device will swap out the placeholder with the correct personalised value belonging to that specific subscriber. This is done before the notification is displayed.

You must define each of your variables using the Notivera Portal/API before they can be used. Devices will not display notifications if unknown variables are found within the text, as this would result in placeholders being shown to the subscriber.

Each Personalisation Variable is an object consisting of name, description and defaultValue. When considering all of your variables together, they are referred to as your organisation’s Personalisation Schema. The schema is a complete list of which variables are allowed to be used and is synced to each and every subscriber device once every 24 hours. This ensures all subscribers keep up to date with changes in your schema.

name

The name property is a unique identifier for your variable. This allows you to see at a glance what the variable is for.

description

The description allows you to provide a more detailed explanation to accompany your variable name. This can be useful to explain the context in which the variable should be used.

defaultValue

In the event a subscriber receives a notification containing a variable for which they do not have a personalised value, this value will be used.

For example: You want to say “Hey John”, but no FIRST_NAME value is set for a subscriber. Using the defaultValue, your notification may say “Hey Subscriber” instead. defaultValue is a required field to ensure your notifications can always display correctly.

Modifiers

When creating a notification, you can add personalisation variables from your schema into notification text fields. Depending on the context in which the variable is used, you may want to alter how it is formatted - Dates/times are a great example of this. Our “modifiers” feature was created to make this possible.

You can assign various modifiers during notification creation to display a Personalisation Variable in a certain way. Each modifier you use can have the following properties:

The following types are supported: