This exercise explain how to use segment personalization within an email content
Login to Adobe Experience Cloud by going to Adobe Experience Cloud. Click Adobe Journey Optimizer.
ACOP
You'll be redirected to the Home view in Journey Optimizer. Before you continue, you need to select a sandbox. The sandbox to select is named --aepTenantId--. You can do this by clicking the text [!UICONTROL Production Prod] in the blue line on top of your screen.
ACOP
10.3.1 Segment-based personalization
In this exercise you'll improve your newsletter email message with a personalized text based on segment membership.
Go to Journeys. Find the newsletter journey that you have created in the previous exercise. Search for --demoProfileLdap-- - Newsletter. Click your journey to open it.
Journey Optimizer
You'll then see this. Click Duplicate.
Journey Optimizer
Click Duplicate.
Journey Optimizer
Select your Email action and click Edit content.
Journey Optimizer
Click Email Designer.
Journey Optimizer
You'll then see this.
Journey Optimizer
Open Content Components and drag a Text component below the current newsletter content.
Journey Optimizer
Select the whole default text and delete it. Then click on the Add personalization button in the toolbar.
Journey Optimizer
You'll then see this:
Journey Optimizer
In the left menu, click Segment Memberships.
Journey Optimizer
If you can't find your segment in this list, scroll down a bit to find instructions on how to retrieve the segment ID manually.
Select the segment Luma - Women's Category Interest and click the + icon, which should look like this:
Journey Optimizer
You should then leave the first line as it is, and replace line 2 and 3 by this code:
`` Psssst... a private sale in the women category will launch soon, we will keep you posted
Thanks for taking the time to read our newsletter. Here is a 10% promo code to use on the website: READER10 {%/if%}
``
You'll then have this:
Journey Optimizer
Click Validate to make sure the code is correct. Click Save.
Journey Optimizer
You can now save this message by clicking the Save button in the top-right corner. Then, click Simulate Content.
Journey Optimizer
Select one of the profiles you created as part of this tutorial and click Preview. You'll then see the result of your configuration.
Journey Optimizer
You'll then see this. Then, click Close.
Journey Optimizer
Go back to the message dashboard by clicking the arrow next to the subject line text in the top-left corner.
Journey Optimizer
Click the arrow in the top left corner to go back to your journey.
Journey Optimizer
Click Ok to close your email action.
Journey Optimizer
Change your Schedule to Once and define a Date/Time. Click Ok.
Message send date and time must be within more than one hour.
Journey Optimizer
Click on the Publish button in the journey.
Journey Optimizer
In the pop-up window, click Publish again.
Journey Optimizer
Your basic newsletter journey is now published. Your newsletter email message will be sent based on your schedule and your journey will stop as soon as the last email has been sent.