You may have noticed the ‘Dynamic Content’ Block in Salesforce Marketing Cloud Engagement before, yet steered clear of using it, fearing it could be too complicated to set up correctly. If that’s the case, this guide is for you because we’re going to run through the reasons to use dynamic content for email marketing, and provide the basic steps to getting set up.
For the record, there are a couple of ways to insert dynamic content in Marketing Cloud emails and the ‘Dynamic Content’ block is the easiest for fairly simple use cases. There’s also the option to use AMPscript but this involves writing some HTML code and can be more tricky to tackle for non-coders.
In this post, we’ll stick to explaining the standard ‘Dynamic Content’ block.
Why use Dynamic Content?
The Dynamic Content feature in Salesforce Marketing Cloud is not only the best way to ensure subscribers receive tailored content, it’s a huge time saver for marketers too.
It allows us to switch the content in our email content based on the profile attributes of recipients.
For example, a university might have a list of potential students interested in enrolling but each is interested in a different course. With the Dynamic Content block, it’s possible to swap the course or content featured in a single email based on the receiver’s preferred area of study.
First and foremost, this ensures that only the most relevant information is sent to subscribers, which is likely to increase engagement and conversion rates.
The added benefit though is that SFMC users don’t need to spend time creating multiple segmented lists and dozens of versions of the same email. With Dynamic Content blocks, the processes for tailoring and personalising emails becomes much simpler and more efficient.
How to get started
Step 1 - Make a plan
Naturally, the first step in your dynamic content journey is to plan exactly which types of content you want to be dynamic, and based on which criteria.
Before you jump into Salesforce Marketing Cloud and begin building your email, document your plan so the whole team understands the logic and you can refer back to it in the future. Consider when dynamic content is most necessary and for which segments of your audience.
Documenting a plan is actually really useful for clarifying things in your own mind too! Dynamic content variations can get complex so it’s important to have a top-level visual.
Step 2 - Decide on your data source
In order to display a certain piece of content for a recipient, we need to create rules using the data points we have about them. There are three places in Marketing Cloud we can draw these data points from:
- Profile attributes in static lists
- Data Extension attributes
- An imported .csv file
If you’re using a simple subscriber list, rather than Data Extensions, this will likely be your best option.
Many SFMC users are storing data in Data Extensions though, given Journey Builder requires us to use these. In this case, you’ll pull your attributes from Data Extensions.
Tip: If you’re tailoring content based on the attributes in a specific Data Extension, the email must also be sent to this Data Extension, or one with the same fields and the exact same names as those used in the dynamic content rules.
The last option, an imported .csv file, may apply when you have a one-time list you need to contact. For example, event attendees who should only receive a transactional email and are not considered subscribers to marketing emails.
Step 3 - Upload assets to Content Builder
The assets you want to use for dynamic content should be uploaded to Content Builder before you begin creating your email, so you can select them easily during the setup process and test that all rules are working as expected.
Uploading content to the Content Builder is straightforward, with drag-and-drop functionality that allows you to select documents such as images from your computer or an external URL.
Upload using the following steps:
- Click ‘Create’ and hover over ‘Upload’ > ‘Content’.
- Click ‘Upload’.
- Choose whether to:
- Drag Files - Drag files from your computer to the upload window to add one or more files, then click Upload and Publish.
- Browse for Files - Click Create, Upload, select the file, and click OK.
Step 4 - Create an email
Whether you want to create an email template that can be used for multiple messages or a one-time email message, you can do so within Content Builder using ‘Blocks’.
Basic Blocks include things like ‘Text’, ‘Image Block’, ‘Button’, and so on. Advanced Content is where you’ll find the more sophisticated Blocks, including ‘Dynamic Content’ and ‘Enhanced Dynamic Content’.
Dynamic Content versus Enhanced Dynamic Content
Dynamic Content requires us to input the rules and upload the assets we want to show within an email directly into the Salesforce Marketing Cloud platform. In some cases, this can mean adding rows and rows of rules i.e. if a university has 50 courses and they want to show the most relevant course to a potential student based on their area of interest.
Enhanced Dynamic Content makes it easier to manage more complex dynamic content requirements by allowing us to specify the rules and assets to display within a single delimited file, then uploading this file to Marketing Cloud.
For this guide, we’ll stick to standard Dynamic Content Blocks but reach out if you’d like support with using more advanced dynamic content.
Start by setting up the main elements of your email, such as the header and footer, and any static content.
Step 5 - Drag-and-drop the Dynamic Content block
Next, add Dynamic Content to your email message by dragging and dropping the ‘Dynamic Content’ Block onto the canvas where you’d like the dynamic content to show. Then follow these steps:
- Click on the Dynamic Content Block to open the editor.
- On the ‘Content’ tab, select whether to:
a. Keep content blocks up-to-date - this means all emails using this Block will be updated if you make changes to the Block in the future.
b. Make local copies of content blocks - any future edits will not be applied to other emails using this same Block.
- Choose your ‘Default Content’. Default Content will show when a recipient does not meet any of the rules you have specified. Consider it a safe fall-back option. If you don’t upload default content, nothing will be shown.
- Select + Create Rule 1.
- Choose the data source you decided on earlier;
a. Profile Attributes (subscriber lists)
b. Data Extension or Audience (for this guide, we’ll use a Data Extension as the example source)
- Navigate to and select the Data Extension you want to use for your rule. You’ll now see a screen allowing you to upload your content and create your rule. If you need to change your data source at any time, you can hit ‘Change’ beside ‘Source:’ on the ‘Create Dynamic Content Rule’ screen that comes next.
- Click the ‘Select’ button next to ‘Content’ to open the Content Builder library and choose your previously uploaded content.
- On the left-hand side of the page you’ll see all attributes that can be used for the rule, pulled automatically from your Data Extension.
Tip: Keep your account nicely organised with folders and consistent naming conventions! This will make finding and managing assets much faster.
9. Simply drag and drop the attribute onto the canvas. For example, a university could use the attribute ‘Course interest’.
10. Use the dropdown menu to select your rule condition i.e. ‘is equal to’, ‘begins with’.
11. Enter a value in the empty field i.e. the university may use ‘Bachelor of Arts’.
Tip: Remember to check for typos or any small differences in your source values versus what you enter for your rule value, especially if you’re using ‘is equal to’. If the Data Extension uses ‘Bachelor of Art’ but you write ‘Bachelor of Arts’ for the rule, it will not work.
12. Repeat the process for additional attributes if needed.
13. Click ‘Save’.
Now, you’ll see Rule 1 is set up within the Dynamic Content Block and you have the options to edit, delete or duplicate. If you’re using the same attributes for multiple rules and simply changing the value i.e. changing ‘Bachelor of Arts’ for ‘Master in Mathematics’ then duplicating is a faster way to go about configuring all your rules.
Once you’ve entered all rules, you can click on each to check that the correct assets show.
Side note: To change email text based on attributes from a profile or Data Extension, use AMPscript to add personalisation by inserting the attribute name surrounded by double percentage symbols, like so:
Step 6 - Test
At this stage, we want to double-check that our dynamic content rules are working as expected.
- Click ‘Done Editing’ then ‘Next’.
- On the preview screen, you’ll see a version of your email based on a chosen subscriber and their attributes. To change the subscriber preview, click the arrows on either side of ‘Sample 01’.
- Assuming you’re happy with the displayed dynamic content (including the default!) you can go ahead and continue with the standard email testing and sending steps.
Considerations for using Dynamic Content
- It is possible to use Dynamic Content for subject lines and preheaders too! Wherever you see the Dynamic Content icon, you can create rules to change the content.
- Save a Dynamic Content Block to reuse at any time by selecting ‘Save Block’ in the bottom left corner of the Dynamic Content Block editor.
- If you click ‘Change’ next to the data source at any time during the creation process before clicking ‘Save’ the rules and content are removed.
- Dynamic Content is not available in text-based emails.
- The Dynamic Content area uses the formatting i.e. background colour and border, for whichever selected content is being used.
Our advice for getting started with Dynamic Content in Salesforce Marketing Cloud is to start small and scale up. Consider tailoring your email content with just two or three variations, to begin with, and once you feel comfortable, expand to include more advanced logic - at which point you might want to look into ‘Enhanced Dynamic Content’ too!
The MarCloud team is on-hand to help with any questions or troubles you may have, you can see our support packages for Marketing Cloud here.