Content blocks allow marketers to reuse the same content across multiple campaigns. For example, a block might be a repeatedly used header, footer, or designed call-to-action button.
With content blocks, marketers can:
- Create consistent campaigns using content blocks as headers, footers, or any other asset
- Create pre-defined assets that can be used across multiple campaigns irrespective of the channel and campaign type
- Edit multiple campaigns at the same time by simply updating the content block
Create a Content Block
- Navigate to Content > Content block in the sidebar. The Content blocks page is displayed.
- Click Create content block in the upper right corner. The content block creation page is displayed.
-
Enter the following details:
Field Description Name Name for the content block. This name will be used to add the content block in a campaign, alert, template, or another content block. It can contain alphabets, numbers, and underscores. Description Description of the content block. Add a description that clarifies what the content block is and where it should be used. Tags Add tags (you can use your existing campaign tags also) to add more context to the content block. Content block for Select where the content block is to be used. Supported values are:
- Campaigns: The content block can be used in campaigns.
- Alerts: The content block can be used in alerts.
Type Type of content block. Supported values are:
- Plain text: Text-based content blocks are supported in all campaign channels.
- HTML: HTML content blocks are supported only in Emails.
Select the type depending on your use cases. For example, for a coupon code (without styling) you can use a text type, while for an email header/footer, you can use an HTML type.
Content Enter the content of the content block.
- For campaigns: Type @ to personalize the content for campaigns.
- For alerts: Click the Text personalization button to personalize the content for alerts.
- Click Publish.
Use Content Blocks
You can use your content blocks in two ways:
Select the Desired Content Block
- While creating content, press "@". The Personalization pop-up is displayed. It has two tabs: Data personalisation and Content blocks.
- Navigate to the Content Blocks tab.
- Select the desired content block from the Select content block drop-down.
- You can also insert only the content of the content block using the following toggle.
This means that only the content will be inserted while detaching itself from the existing content block and any future updates will not be reflected. - Click Done to insert the content block.
- While creating content, click the Text personalization button. The Inform personalization pop-up window is displayed. It has three tabs: API attribute, Data personalization, and Content block.
- Navigate to the Content block tab.
- Select the desired content block from the Select content block drop-down.
- You can also insert only the content of the content block using the following toggle.
This means that only the content will be inserted while detaching itself from the existing content block and any future updates will not be reflected. - Click Copy & Close to copy the personalized attribute to the clipboard.
- Paste the copied value in the message editor using standard keyboard shortcuts.
Insert the Block Label of Your Content Block Directly
- Copy the Block label from your Content Block page.
- Paste the Block label into the campaign/template/another content block.
Content Block Personalization Support
Personalization Type | Supported? | Additional Information |
---|---|---|
User attribute | Yes | - |
Event attribute | Yes |
You can use Jinja to personalize content based on event attributes. When you select the event—whose attribute you used to personalize the content block—in the trigger criteria of an event-triggered campaign and personalize campaign content using the Content block, then personalization will happen successfully |
Product sets | No | - |
Content API | No | - |
Content block | Yes | - |
Auxiliary data | No | - |
Campaign attribute | Yes | You can use Jinja to personalize content based on campaign attributes. This is currently available only for Email. |
Business event attribute | Yes | You can use Jinja to personalize content based on business event attributes. This is currently available only for Email, SMS, and Push. Please ensure you select the same business event whose attribute you used to personalize the content block. |
info |
Note
|
Supported Channels
Content Blocks can be added to the campaigns sent using the following channels:
Manage Content Blocks
You can manage all your content blocks by navigating to Content >> Content blocks
info |
Note
|
View a Content Block
To preview a content block, click on the three dots at the end of the row in the listing and click on View. You can also click anywhere in the content-block's search listing to view the information about the content block. The View gives a summary of the selected content block - the thumbnail, created by, tags, and the usage.
Update a Content Block
If you want to update a content block, it will update all the campaigns, templates, and other content blocks, where it has been used.
Nest Content Blocks
You can also nest content blocks. This means that you can use content block A in another content block B.
warning |
Warning If there is a cyclic loop, you will not be able to create or update a content block. |
Delete a Content Block
A content block can be deleted only if it is not used in any of the active campaigns.