Expand my Community achievements bar.

SOLVED

On-Device Decisioning in WebSDK?

Avatar

Level 4

Hello team,

Based on Adobe's documentation, "on-device decisioning" is currently available only in AT.js, NOT in WebSDK.

For new projects, we’re recommending WebSDK since it unifies multiple AEP capabilities we use, such as Target, Analytics, and more, making it easier to maintain a single solution going forward.

Today, we rely on AT.js's on-device decisioning mainly for performance benefits. We're curious to know if this limitation in WebSDK is a critical factor or if there are effective alternatives within WebSDK to maintain similar performance.

I also checked Adobe's WebSDK roadmap and didn’t see on-device decisioning listed. Do you know if it’s planned or if Adobe has other recommended approaches?

Thanks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

This seems to be an alternative (in case any one is interested):

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/decisioning/offer-decisioning/api...

Edge Decisioning

Pros:

  • Centralized updates—no need to redeploy on devices.
  • Reduces client device load.
  • Consistent experience across devices.
  • Recommended approach, as WebSDK is the long term solution (although AT.js is fully supported).

Cons:

  • Slightly higher latency than on-device.
  • Requires constant network connection.
  • Adds overhead with frequent calls.

On-Device Decisioning

Pros:

  • Instant, low-latency responses.
  • Works offline or with low connectivity.
  • More adaptable to real-time, device-specific context.

Cons:

  • Requires device resources, which can impact performance.
  • Needs redeployment for rule updates.

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

This seems to be an alternative (in case any one is interested):

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/decisioning/offer-decisioning/api...

Edge Decisioning

Pros:

  • Centralized updates—no need to redeploy on devices.
  • Reduces client device load.
  • Consistent experience across devices.
  • Recommended approach, as WebSDK is the long term solution (although AT.js is fully supported).

Cons:

  • Slightly higher latency than on-device.
  • Requires constant network connection.
  • Adds overhead with frequent calls.

On-Device Decisioning

Pros:

  • Instant, low-latency responses.
  • Works offline or with low connectivity.
  • More adaptable to real-time, device-specific context.

Cons:

  • Requires device resources, which can impact performance.
  • Needs redeployment for rule updates.

 

Avatar

Employee

Thanks for question @JeanBaro_ . You're correct in that on-device decisioning is currently only supported with at.js. We are however working to change that in the first half of 2025. The new feature we are building will work very similar to on-device decisioning but utilize edge worker for the most optimal performance. Happy to chat in more detail.