2.3.5 Take Action: send your audience to ÃÛ¶¹ÊÓÆµ Target
Go to . After logging in, you’ll land on the homepage of ÃÛ¶¹ÊÓÆµ Experience Platform.
Before you continue, you need to select a sandbox. The sandbox to select is named --aepSandboxName--
. After selecting the appropriate sandbox, you’ll see the screen change and now you’re in your dedicated sandbox.
Verify your Datastream
The ÃÛ¶¹ÊÓÆµ Target destination in Real-Time CDP is connected to the datastream that is used to ingest data into the ÃÛ¶¹ÊÓÆµ Edge Network. If you want to setup your ÃÛ¶¹ÊÓÆµ Target destination, you first need to verify whether your datastream is already enabled for ÃÛ¶¹ÊÓÆµ Target. Your datastram was configured in Exercise 0.2 Create your Datastream and was named --aepUserLdap-- - Demo System Datastream
.
In the left menu, scroll down and click Datastreams. In Datastreams, search for your datastream which is named --aepUserLdap-- - Demo System Datastream
. Click your datastream to open it.
You’ll then see this, click … next to ÃÛ¶¹ÊÓÆµ Experience Platform and then click Edit.
Check the checkboxes for both Edge Segmentation and Personalization Destinations. Click Save.
Next, click + Add Service.
Select the service ÃÛ¶¹ÊÓÆµ Target. Click Save.
Your datastream is now configured for ÃÛ¶¹ÊÓÆµ Target.
Setup your ÃÛ¶¹ÊÓÆµ Target destination
ÃÛ¶¹ÊÓÆµ Target is available as a destination from Real-Time CDP. To setup your ÃÛ¶¹ÊÓÆµ Target integration, go to Destinations, to Catalog.
Click Personalization in the Categories menu. You’ll then see the (v2) ÃÛ¶¹ÊÓÆµ Target destination card.
Click Connnect to destination.
You’ll then see this. You need to create your own ÃÛ¶¹ÊÓÆµ Target destination, follow these guidelines:
- Name: use the name
--aepUserLdap-- - ÃÛ¶¹ÊÓÆµ Target v2 (Web)
. - Datastream ID: you need to select the datastream that you configured in Exercise 0.2 Create your Datastream. The name of your datastream should be:
--aepUserLdap-- - Demo System Datastream
. - Workspace: this is related to ÃÛ¶¹ÊÓÆµ Target workspaces. If there is no specific workspace you need to use, then select Default Workspace.
Click Next.
You can now optionally select a data governance policy. Click Next.
In the list of available audiences, select the audience you created in the previous exercise Create an audience, which is named --aepUserLdap-- - Interest in Galaxy S24
. Then, click Next.
On the Mapping screen, you can map profile attributes to become available in ÃÛ¶¹ÊÓÆµ Target. This helps you add an extra layer of personalization on your website. Click Add New Field.
For the new field, select the field person.name.firstName. Click Save.
You’ll then have this. Click Next.
Click Finish.
Your audience is now activated towards ÃÛ¶¹ÊÓÆµ Target.
Configure your ÃÛ¶¹ÊÓÆµ Target form-based activity
Now that your Real-Time CDP audience is configured to be sent to ÃÛ¶¹ÊÓÆµ Target, you can configure your Experience Targeting activity in ÃÛ¶¹ÊÓÆµ Target. In this exercise you’ll configure a Form-based activity.
Go to the ÃÛ¶¹ÊÓÆµ Experience Cloud homepage by going to . Click Target to open it.
On the ÃÛ¶¹ÊÓÆµ Target homepage, you’ll see all existing Activities. Click Create Activity, then click Experience Targeting.
Select Web, Form and No Property Restrictions. Click Create.
You’re now in the Form-based activity composer.
For the field LOCATION 1, select target-global-mbox.
The default audience is currently All Visitors. Click on the 3 dots next to All Visitors and click Change Audience.
You’re now seeing the list of available audiences, and the ÃÛ¶¹ÊÓÆµ Experience Platform audience that you created earlier and sent to ÃÛ¶¹ÊÓÆµ Target is now part of this list. Select the audience you previously created in ÃÛ¶¹ÊÓÆµ Experience Platform. Click Assign Audience.
Your ÃÛ¶¹ÊÓÆµ Experience Platform audience is now part of this Experience Targeting Activity.
Let’s now change the Hero Image on the homepage of the website. Click to open the dropdown list next to Default Content and click Create HTML Offer.
Paste the following code.
<script>document.querySelector("#SpectrumProvider > div.App > div > div.Page.home > main > div.Banner.Banner--alignment-right.Banner--verticalAlignment-middle.main-banner > div.Image > img").src="https://tech-insiders.s3.us-west-2.amazonaws.com/citisignal-new-hero.png"; document.querySelector("#SpectrumProvider > div.App > div > div.Page.home > main > div.Banner.Banner--alignment-right.Banner--verticalAlignment-middle.main-banner > div.Banner__content > div > div > h1").innerHTML="Hi there ";
document.querySelector("#SpectrumProvider > div.App > div > div.Page.home > main > div.Banner.Banner--alignment-right.Banner--verticalAlignment-middle.main-banner > div.Banner__content > div > div > div > div > p").innerHTML="What about 10% off of your next Galaxy S24 smartphone?";
</script>
Next, you need to add in a personalization token from ÃÛ¶¹ÊÓÆµ Experience Platform’s profile attributes. Remember, when you activated the audience to ÃÛ¶¹ÊÓÆµ Target, you also select the field person.name.firstName to be shared with ÃÛ¶¹ÊÓÆµ Target. To retrieve the field, select the source ÃÛ¶¹ÊÓÆµ Experience Platform, select your sandbox (which should be --aepSandboxName--
) and then select the attribute person.name.firstName.
Before you click the Add button, make sure to go to the line where you see ... > h1").innerHTML="Hi there ";
and put your cursor inside the brackets after the word there
, like this:
... > h1").innerHTML="Hi there ";
Then click the Add button, which should then add the token, which will update the code like this:
... > h1").innerHTML="Hi there ${aep.person.name.firstName}";
Click Next.
You’ll then see the overview of your experience with the new image, for your selected Audience. Click Next.
Click the title of your Activity in the upper left corner to rename it, like this: --aepUserLdap-- - RTCDP - XT (Form)
On the Goals & Settings - page, go to Goal Metrics. Set the Primary Goal to Engagement - Time On Site. Click Save & Close.
You’re now on the Activity Overview page. You still need to activate your Activity. Click on the field Inactive and select Activate.
You’ll then get a visual confirmation that your activity is now live.
Your activity is now live and can be tested on the demo website.
If you now go back to your demo website and visit the product page for Galaxy S24, you’ll then qualify for the audience that you created, and you’ll see the ÃÛ¶¹ÊÓÆµ Target activity be displayed on the home page in real-time.
Next Step: 2.3.6 Destinations SDK