Placeholders and Variables

Last updated:

Prisma Campaigns allows the use of placeholders and special variables to insert dynamic content into your communications (emails, banners, pages, etc.) for personalization and enhanced functionality.

Below is a list of available placeholders and components that can be included in your content. Note that while Dynamic Areas are specific to HTML, the other resources can be used in any place where code is allowed.

Personalized Information

You can enhance your content by including tags to personalize the message for each customer. These placeholders are replaced with the corresponding customer or campaign data.

  • {{customer.first-name}}: Displays the customer’s first name.
  • {{campaign.start-date}}: Shows the start date of the campaign.
  • {{campaign.end-date}}: Shows the end date of the campaign.

Example:

<p>Hello {{customer.first-name}}, here are our offers from {{campaign.start-date}} to {{campaign.end-date}}.</p>

To allow users to access your funnel, you can add a link to the campaign. Prisma automatically generates a unique link for each customer when the communication is sent. This enables tracking of customer interactions.

Example:

<a href='{{campaign.link}}'>Go to campaign</a>

Dynamic Areas (HTML Only)

For HTML templates, you can use placeholders for images and text that can be customized from within the campaign editor. This allows you to reuse a template across different campaigns by adapting its content accordingly.

  • Image placeholder: {{image.var}}
  • Text placeholder: {{var}}
  • Button placeholder: {{button.var}}

When a campaign uses a template with these placeholders, you can provide the specific content for each one. For more details, refer to the Email Components section in the user manual.

Prisma Components

Prisma provides several built-in components to add common functionality to your communications. In the Email Components section of the user manual you can find more information about them.

You can provide users a way to unsubscribe from your communications. The unsubscription process will follow the configuration in your Campaign Settings.

Example:

<a href='{{campaign.unsubscribe}}'>Unsubscribe</a>

Communication Preferences

Allow your customers to manage their communication preferences by including a link to the preferences center. You can add it manually or use the communication preferences component from the Email Designer.

Example:

{{campaign.communication-preferences}}

View Email in Browser

You can provide an option to open an email in a web browser. Prisma will replace the placeholder with a link to a web version of the email.

Example:

<a href='{{email.webview}}'>View in Browser</a>

If you use translations in your design, you can provide links to different language versions:

<a href='{{email.webview:es}}'>Spanish</a>
<a href='{{email.webview:en}}'>English</a>