Learn how to implement Adobe Journey Optimizer’s Decision Management capability using Platform Web SDK. This guide covers the foundational Decision Management prerequisites, detailed steps for configuration, and a deep dive into a use case centered on loyalty status.
By following this tutorial, Journey Optimizer users are equipped to use Decision Management features, enhancing the personalization and relevance of their customer interactions.
At the end of this lesson, you are able to:
Grasp the core concepts of Decision Management within the Adobe Journey Optimizer and its integration with the Adobe Experience Platform Web SDK.
Learn the step-by-step process to configure the Web SDK for Offer Decisioning, ensuring seamless integration with Journey Optimizer.
Explore a detailed use case centered on loyalty status offers, gaining insights into creating and managing offers, decisions, and placements effectively.
Acquaint yourself with essential terms and their implications within the Decision Management framework.
Understand the significance of decision rules, collection qualifiers, and fallback offers in delivering the right offer to the right user.
Delve into advanced topics like simulations and custom event data collection, empowering you to test, validate, and enhance your offer delivery mechanisms.
To complete the lessons in this section, you must first:
Ensure that your organization has access to Adobe Journey Optimizer Ultimate (Journey Optimizer and Offer Decisioning) or Adobe Experience Platform and the Offer Decisioning add-on.
Complete all lessons for initial configuration of the Platform Web SDK.
Enable your organization for Edge Decisioning.
Understand how to configure a placement, and instantiate placement and activity IDs within your Decision Scope JSON.
Event-based offers are currently not supported in Adobe Journey Optimizer. If you create a decision rule based on an event, you are not able to apply it in an offer.
To grant access to the Decision Management functionality, you must create a Product profile and assign the corresponding permissions to your users. Learn more on managing Journey Optimizer users and permissions in this section.
Offer Decisioning must be enabled in the datastream configuration before any Decision Management activities can be delivered by Platform Web SDK.
To configure Offer Decisioning in the datastream:
Go to the Data Collection interface.
On the left navigation, select Datastreams.
Select the previously created Luma Web SDK datastream.
Select Edit within the Adobe Experience Platform Service.
Check the Offer Decisioning box.
Select Save.
This ensures that inbound events for Journey Optimizer are correctly handled by the Adobe Experience Platform Edge.
Decision Management requires additional SDK steps, depending on your Web SDK implementation type. There are two available options for configuring the SDK for Decision Management.
SDK standalone installation
Configure the sendEvent
action with your decisionScopes
.
alloy("sendEvent", {
...
"decisionScopes": [
"[DECISION SCOPE 1]",
"[DECISION SCOPE 2]"
]
})
SDK Tags installation
Go to Data Collection interface.
On the left navigation, select Tags.
Select the Tag Property.
Create your Rules.
decisionScopes
to that action’s configuration.Create and publish a Library containing all the relevant Rules, Data Elements, and Extensions you have configured.
First, you should understand the terminology used in the Decision Management interface.
In this lesson, you implement a sample Loyalty Rewards use case to understand Decision Management using the Web SDK.
This use case enables you to better understand how Journey Optimizer can help deliver the best offer to your customers, utilizing the centralized offer library and the Decision Management decision engine.
As this tutorial is aimed at implementers, it’s worth noting that this lesson involves substantial interface work in Journey Optimizer. While such interface tasks are typically handled by marketers, it can be beneficial for implementers to gain insight into the process, even if they are not responsible for decision management campaign creation in the long run.
Before starting to create the offers, you must define several prerequisite components.
Placements are containers that are used to showcase the offers. In this example, you create a placement at the top of the Luma site.
The list of placements is accessible in the Components menu. Filters are available to help you retrieve placements according to a specific channel or content.
To create the placement, follow these steps:
Click Create placement.
Define the placement’s properties:
Click Save.
Once the placement is created, it displays in the placements list.
Select the row containing your new placement and take note of the Placement ID, as this may be necessary for configuration within your Decision Scope.
Decision rules specify the conditions under which the offers are presented. In this example, you create decision rules to serve different offers depending on a user’s Loyalty status.
The list of decision rules is accessible in the Components menu.
To create the decision rules, follow these steps:
Navigate to the Rules tab, and click Create rule.
Let’s name the first rule ‘Gold Loyalty Status Rule’. You can use XDM fields to define the rule. The Adobe Experience Platform Segment Builder is an intuitive interface that you can use to build the rule conditions.
Click Save to confirm the rule condition.
The newly saved ‘Gold Loyalty Status Rule’ will display in the Rules list. Select it to display its properties.
Now create the remaining loyalty offer rule conditions for the use case.
Collection qualifiers allow you to easily organize and search for offers within the offer library. In this example, you add collection qualifiers to the Loyalty Rewards offers to improve the offer organization.
The list of collection qualifiers is accessible in the Components menu.
To create the Loyalty Rewards collection qualifier, follow these steps:
Navigate to the Collection qualifiers tab, and click Create collection qualifier.
Let’s name the collection qualifier ‘Loyalty Rewards’
The new collection qualifier should now display in the Collection qualifier tab
Now it’s time to create the Loyalty Rewards offers.
The list of offers is accessible in the Offers menu.
Start by creating personalized offers for the different Luma Loyalty Tiers.
To create the first offer, follow these steps:
Click Create offer, then select Personalized offer.
Let’s name the first offer ‘Luma Loyalty Tier – Gold’. You must specify a start / end date and time for this offer. You should also associate the collection qualifier ‘Loyalty Rewards’ to the offer, allowing you to better organize within the Offer Library. Afterwards, click Next.
Now you must add representations to define where the offer displays. Let’s choose the web channel. Let’s also choose the ‘Homepage Banner’ placement you previously configured. The selected placement is HTML-type, so you can add HTML, JSON, or TEXT content directly to the editor to build the offer using the Custom radio button.
Edit the offer content directly with the Expression Editor. Remember that you can add HTML, JSON, or TEXT content to this placement. Ensure you select the correct mode at the bottom of the editor, depending on your content type. You can also hit validate to ensure there are no errors.
Also, you can use the Expression Editor to retrieve attributes stored in Adobe Experience Platform. Let’s add a profile’s first name to the offer content to better personalize for the loyalty members on a 1:1 level.
Add constraints to only show the offer to profiles that qualify for the ‘Gold Loyalty Status Rule’.
Once you have finished reviewing your offer, click Finish. Select Save and approve.
Now create the rest of the offers for the various Luma Loyalty tiers
You still want to serve an offer to non-Luma Loyalty visitors to the Luma site. To do this, you can configure a fallback offer for the campaign.
To create the fallback offer, follow these steps:
Decisions are containers for offers that pick the best offer available for a customer, depending on the target.
The list of decisions is available in the Decisions tab of the Offers menu.
Let’s create a decision for the Luma Loyalty Rewards use case.
To create the decision, follow these steps:
As a best practice, you should validate the Luma Loyalty decisioning logic to ensure that the correct offers are delivered to the right loyalty audiences. You can do this validation by using test profiles. It’s also a good idea to test changes to offers via test profiles before pushing new offer versions to production.
To begin the testing, select the Simulations tab from the Offers menu.
The Adobe Experience Platform Debugger extension, available for both Chrome and Firefox, analyzes your web pages to identify issues in the implementation of Adobe Experience Cloud solutions.
You can use the debugger on the Luma site to validate the decisioning logic in production. This validation is a good practice once the Loyalty Rewards use case is up and running, to ensure that everything is configured correctly.
Learn how to configure the debugger in your browser using the guide here.
To begin validation using the debugger:
Next: Implement Consent for Experience Platform Web SDK
Thank you for investing your time in learning about Adobe Experience Platform Web SDK. If you have questions, want to share general feedback, or have suggestions on future content, please share them on this Experience League Community discussion post