Content personalization and placeholders

Product Fruits can use the user information passed to it in its content. This is used most often in segmentation, but it's useful in many other situations as well. For example, using a user’s first name in a card for personalization purposes, or even in more technical situations like filling in parts of a URL. 

What user properties can you use?

There are two ways to figure out which properties you can use. It's worth noting that at the moment, only properties sent through the user information object (data sent to us from your application when Product Fruits is initialized) can be used.

Tracked Users section

The best way to find user properties is by accessing the Tracked Users section of your workspace. Once there, the technical name of the property can be seen.

Debugger

The other method is by using the debugger. Once launched, consult the User information tab. 

Using placeholders

Once you know which value to use, implementation it is easy. You can use these placeholders in various places in Product Fruits.

Syntax

All you need to do is encapsulate the property name in double curly brackets.

For example, firstname becomes {{firstname}}. For custom properties, start with props. For example, yourCustomProp becomes {{props.yourCustomProp}}.

So, in the editor, it looks like this:

Graphical user interface, text, application

Description automatically generated

Once that's been done, it will look like this in the tour:

Where you can use it

Placeholders can be used outside tours and hints cards. A few examples:

  • dynamic URLs in the Life Ring Button or Checklist items ({{$language}} may be helpful in these cases)
  • dynamic greetings in the Checklist title
  • personalized announcements- URLs in action buttons included