Skip to main content
The meta element describes the notification for the channel or provider rendering it. Its title field becomes the title on channels that support one, such as email subject lines and push titles. The type value is "meta". When to use:
  • Set email subject lines
  • Set push notification titles
  • Provide channel-specific titles
  • Include metadata for notification processing
Basic example
Fields
string
The title to be displayed by supported channels:
  • Email: Used as the email subject line
  • Push: Used as the push notification title
  • Inbox: Used as the notification title
Supports Handlebars variables.
object
Region-specific content for localization. Can localize the title field. See the .
string[]
An array of channel names. The meta element applies only to the listed channels. See .
Examples and variants Basic title Simple title for email subject or push notification:
Dynamic title with Handlebars Use variables in the title:
The variables come from message.data (e.g., data.first_name, data.last_name). Channel-specific titles Different titles for different channels:
Localized titles Localize titles for different languages:
Combined dynamic and localized Use both Handlebars and localization:
Multiple meta elements Use multiple meta elements for different purposes:
Channel usage Email: the title field becomes the email subject line. Push notifications: the title field becomes the push notification title. Keep it concise, typically 40-60 characters. SMS: meta elements are typically unused, since SMS has no title or subject. Inbox: the title field becomes the notification title in the inbox.