Hi Community,
Is it possible to target Content Blocks in an email only to a specific audience?
I can use Segments.
Is there any other way (Available new features)?
Many thanks,
C
Hi C,
Please follow the next steps to achieve it.
1. Add a code block into the email.
2. Refer to the code snippet in the following section.
Add dynamic content to email messages (Dynamics 365 Marketing) | Microsoft Docs
For example, we use the following code and change it to show a content block if the contact's address is US, but not otherwise.
{{#if (eq contact.address1_country 'US')}} test {{/if}}
3. Then insert a content block you need as usual.
4. Switch to the HTML designer.
5. Cut the code snippet of content block and paste it to the test part.
6. Then you'll see that the block is only shown when the country of the contact is US.
Thank you Nya.
Much appreciated.
Hi,
If the issue has been solved, it would be appreciated if you could click "Yes" to verify my answer.
If there is any further doubt, please do not hesitate to let me know.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 179 Super User 2025 Season 2
#ManoVerse 110
Gerardo RenterÃa Ga... 61 Most Valuable Professional