Concepts
App signals
How Herald builds personas and decisions from ten core numbers plus up to six numbers from your own app, such as workouts this week, and how to start from a template for your kind of app.
Herald describes each person with a short list of numbers. Personas group people with similar numbers, and decisions use them to pick the message most likely to work for that person. Out of the box the list says how someone responds to messages. App signals add what they do in your app.
The core numbers
Every person gets ten numbers, the same in every app:
- Push response rate, email response rate and overall response rate.
- The share of their activity in the morning, in the evening and on weekends.
- How recently they were active.
- How long they have been around (tenure).
- Active days in the last 30.
- Messages per week.
These work with no setup. They describe when and how people respond, not what they use your app for.
What signals add
A signal is a computed attribute you mark as Use in personas and decisions. Each account can use up to 6. A person's list becomes the ten core numbers followed by your signals, in the order you turned them on.
A fitness app might add workouts this week, minutes this month and days since the last workout. Personas can then tell regulars from people who are drifting, and decisions can learn which message suits each.
The core numbers stay for everyone, so an account with no signals works as before.
Start from a template
In the console, open Settings → Computed attributes and choose a category under Start from a template. Each suggestion is a ready computed attribute with a line on why it helps. Type or pick the event your app sends (the suggestions are the events Herald has seen; an event it hasn't seen yet is marked "Not seen in your events yet" and can still be added), then Add or Add and use in model. The event and property names below are suggestions only.
| Category | Suggestions |
|---|---|
| Fitness | workouts_7d (count of workout_completed, 7 days); workout_minutes_30d (sum of duration_minutes, 30 days); last_workout; programs_started_30d; personal_records_30d |
| Meditation and wellness | sessions_7d (count of session_completed, 7 days); mindful_minutes_30d (sum of duration_minutes, 30 days); last_session; journal_entries_30d |
| Learning | lessons_7d (count of lesson_completed, 7 days); quizzes_30d; last_lesson; courses_started_30d |
| Shopping | purchases_90d (count of purchase, 90 days); revenue_90d (sum of value, 90 days); cart_adds_7d; last_purchase |
| Media and content | items_viewed_7d (count of content_viewed, 7 days); watch_minutes_30d (sum of duration_minutes, 30 days); shares_30d; last_view |
| Finance | transactions_30d (count of transaction, 30 days); transfers_30d; last_transaction; goals_set_90d |
| Games | levels_7d (count of level_completed, 7 days); purchases_90d; last_level; matches_7d |
| Community | posts_7d (count of post_created, 7 days); comments_7d; follows_30d; last_post |
Names starting with last_ are "last time an event happened" attributes. The rest count an event, or sum a property, over the window in the name.
Scaling and readiness
Counts of 40 and sums of 3,000 minutes can't sit beside rates between 0 and 1, so Herald rescales each signal to 0 to 1. A person's number is where their value falls among everyone in your account who has one: 0 is the lowest, 1 the highest, 0.5 the middle. Someone with no value for a count or a sum counts as zero.
The scale is checked hourly and refreshed daily, and again before each nightly persona discovery. A signal shows one of these statuses:
- Ready: the scale exists and the signal is in use.
- Scaling, ready within the hour: the scale isn't computed yet. Until it is, the signal counts as 0 for everyone, so it changes nothing.
- Needs 30 people with a value: fewer than 30 people have a value. The signal stays inactive until they do. It is tried again within a day.
Recent is high
For "last time" and "first time" signals, the number is how recent the time is: 1 is very recent and 0 is the stalest, or no value at all. A person who worked out today scores near 1 on last_workout. Persona traits say "recent", "a while ago" or "long ago" for these, and "high", "mid" or "low" for the others.
How personas use signals
Nightly persona discovery groups people by the whole list, so signals shape the groups. Each discovered persona then shows its signals as small chips on its page, such as "Workouts 7d · high", under its other traits. Personas found before you added signals show no chips. Chips update at the next nightly discovery, so a signal you have just turned off or edited can still show until then.
How decisions use signals
Agents that use LinUCB read each person's whole list when they choose a message and learn from the result. With signals, it can learn that people with many workouts and a recent last workout respond to one message while drifting people respond to another.
Thompson Sampling or LinUCB with many personas
Both choose between your message variants, but they share learning differently.
- Thompson Sampling keeps separate results for each persona and learns a winner per persona. Each persona needs enough sends and responses of its own, so with many personas it learns slowly, and small personas stay uncertain longer.
- LinUCB uses each person's numbers directly and shares what it learns across everyone. A response from one person teaches it about people who look like them. It suits accounts with many personas, or with signals.
Changing the signal set
Turning a signal on or off, deleting it, or editing its computed attribute's definition changes what every person's list means.
- LinUCB relearns for your account. Its earlier results were for a different list, so Herald starts fresh rather than mixing them. Results for decisions made before the change are not applied to the new learning.
- Personas refresh at the next nightly discovery. Until then, people are matched to personas found on a different set of signals using the ten core numbers only, so persona-targeted agents keep sending.
- Thompson Sampling is unaffected: it doesn't use the list.
Turning a signal off, or deleting its computed attribute, takes it out at once and moves later signals up one place.
Limits
6 signals per account, across all its apps. A signal can't be turned on once 6 are in use; turn one off first. Moving an app into an account can leave more than 6 on: then only 6 are used, the counter reads, for example, "7 of 6 in use — turn one off", and the others show Not used: over the limit of 6. See Limits.