Introduction to on-device decisioning
The next-generation Adobe Target SDKs now offer on-device decisioning, which provides the ability to cache your A/B and Experience Targeting (XT) campaigns on your server and perform in-memory decisioning at near-zero latency, without blocking network requests to Adobe Target's Edge Network. Adobe Target also offers the flexibility of delivering the most relevant and up-to-date experience from your experimentation and ML-driven personalization campaigns via a live server call. In other words, when performance is most important, you can choose to utilize on-device decisioning, but when the most relevant and up-to-date experience is needed, a server call can be made instead. See when to use on-device vs. edge decisioning to learn about use cases that warrant using one over the other.
How does it work?#
When you install and initialize an Adobe Target SDK with on-device decisioning enabled, a rule artifact is downloaded and cached locally on your server, from the Akamai CDN closest to your server. When a request to retrieve an Adobe Target experience is made within your server-side application, the decision regarding which content to return is made in-memory, based on the metadata encoded in the cached rule artifact, which defines all of your on-device decisioning A/B and XT activities.
What are the benefits?#
- Deliver near-zero latency decisions. Bucketing and decisioning are performed in-memory and on-device to avoid blocking network requests.
- Enhance application performance. Run experiments and deliver personalization to your customers and users without compromising end-user experiences.
- Improve Google Site Quality Score. With decisioning happening in-memory and on the server-side, improve the Google Site Quality score of your online business to make it more discoverable by consumers.
- Learn from real-time analytics. Gain insights from your activity performance in real-time via Adobe Target or A4T reporting, enabling you to pivot your strategy at critical moments.
On-device decisioning supports the following activity types created by the Form-based Experience Composer:
- A/B Test
- Experience Targeting (XT)
On-device decisioning supports the following allocation method:
On-device decisioning supports the following audience rules:
|Audience Rule||On-device Decisioning|
|Experience Cloud Audiences (Audiences from Adobe Audience Manager, Adobe Analytics, and Adobe Experience Manager||No|
How do I provision my client to use on-device decisioning?#
On-device decisioning is available for all Adobe Target customers who use Adobe Target server-side SDKs. In order to enable this feature, navigate to Administration > Implementation > Account details in the Adobe Target UI, and enable the On-Device Decisioning toggle.
You must have the Admin or Approver user role to enable or disable the On-Device Decisioning toggle.
After enabling the On-Device Decisioning toggle, Adobe Target will begin generating and propagating rule artifacts for your client.
Ensure you enable the toggle before you initialize the Adobe Target SDK to use on-device decisioning. The rule artifacts will first need to generate and propagate to the Akamai CDNs in order for on-device decisioning to work.
Include all existing on-device decisioning qualified activities in the artifact toggle#
Toggle this on when you would like all your live Target activities that qualify for on-device decisioning to be automatically included in the artifact.
Leaving this toggle off means you will need to re-create and activate any on-device decisioning activities in order for them to be included in the generated rules artifact.
How do I know an activity is on-device decisioning capable?#
After you create an activity, a label called Decisioning Method, visible in the activity detail page, indicates whether the activity is on-device decisioning capable.
You can also see all activities that are on-device decisioning capable on the Activities page by adding the column Decisioning Method to the list of activities.
After creating and activating an activity that is on-device decisioning capable, it may take up 5-10 minutes before it is included in the rules artifact that is generated and propagated to the Akamai CDN PoPs.
What is the summary of steps I need to follow to ensure my on-device decisioning activities are delivered successfully via Adobe Target's server-side SDK?#
- Access the Adobe Target UI and navigate to Administration > Implementation > Account details to enable the On-Device Decisioning toggle.
- Enable the Include all existing on-device decisioning qualified activities in the artifact toggle.
- Create and activate an activity type that is supported by on-device decisioning, and verify that the Decisioning Method is On-Device Decisioning for that activity.
- Install and initialize the Node.js or Java SDK with
decisioningMethod = on-device.
getAttributes()in your code to retrieve an experience on-device.
- Deploy your code.
For examples demonstrating how to get started with steps 1-3 above, see the Getting started section.
Webinar: Personalize and test at zero latency with on-device decisions from Adobe Target#
More than ever, marketers, product owners and developers are being tasked with optimizing the overall customer experience on sites, in apps, and everywhere else they connect with their customers. Multiple tools with data silos and complicated implementations are inadequate.
In this recorded webinar, Adobe Target product experts discuss how moving critical experience optimization decisions on-device to execute locally with near-zero latency can open doors to exciting new use cases while improving site performance for your customers.
Tutorial: On-device decisioning#
Adobe Target on-device decisioning enables near-zero latency content delivery.
This 7-minute video:
- Describes on-device decisioning, including how it compares to other methods of Target implementation
- Demonstrates how to enable on-device decisioning in Target
- Examines a sample form-based composer activity that has been configured with JSON content
- Shows sample Node.JS SDK code containing key configuration required for on-device decisioning
- Demonstrates results in a browser
For more videos and tutorials, see the Adobe Target Tutorials guide.