I want to send In-App Messages, which identifier should I be targeting?
In single-identifier
(id
only) workspaces, use
{{ customer.id }}
If your workspace is a single-identifier workspace, your target audience should always be
{{ customer.id }}. However, if you happen to be setting the id and the email to the same value, then you can get away with using {{ customer.email }}, but we would never recommend that since {{ customer.email }} would not be an identifier.
In multi-identifier workspaces (id
and
email), you will still likely be using {{ customer.id }} as your target audience.
What really matters is how your developers are calling the identify function. Whichever way they are identifying the profile, the identifier value you use for in-app messages is only one value. So it will either be {{customer.id}} or {{ customer.email }}. It can never be both.