web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Marketing Email

(0) ShareShare
ReportReport
Posted on by 141

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, 

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at
    RE: Marketing Email

    Hi C,

    Please follow the next steps to achieve it.

    1. Add a code block into the email.

    pastedimage1642387272987v1.png

    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}}

    pastedimage1642387765339v2.png

    3. Then insert a content block you need as usual.

    pastedimage1642387788044v3.png

    4. Switch to the HTML designer.

    pastedimage1642387821534v5.png

    5. Cut the code snippet of content block and paste it to the test part.

    pastedimage1642388263060v10.png

    6. Then you'll see that the block is only shown when the country of the contact is US.

    pastedimage1642388406054v11.pngpastedimage1642388412289v12.png

    pastedimage1642388475812v14.pngpastedimage1642388451449v13.png

  • Suggested answer
    Chime Profile Picture
    141 on at
    RE: Marketing Email

    Thank you Nya. 

    Much appreciated. 

    C

  • Verified answer
    Nya Profile Picture
    29,060 on at
    RE: Marketing Email

    Hi,

    If the issue has been solved, it would be appreciated if you could click "Yes" to verify my answer.

    Image

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 117 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 110

#3
#ManoVerse Profile Picture

#ManoVerse 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans