Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Marketing Email

(0) ShareShare
ReportReport
Posted on by 135

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, 

  • Verified answer
    Nya Profile Picture
    Nya 29,058 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.

  • Suggested answer
    Marion Profile Picture
    Marion 135 on at
    RE: Marketing Email

    Thank you Nya. 

    Much appreciated. 

    C

  • Verified answer
    Nya Profile Picture
    Nya 29,058 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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans