Best practices when decisioning method is “hybrid”
When using “hybrid” as the decisioning method, the artifact is downloaded in parallel. Until the artifact is downloaded, any Target API calls go over the wire even if the “locations” are on-device capable. This behavior is the default for all getOffers()
calls and provides the best performance in most situations. If you change the default behavior of getOffers()
by setting the decisioningMethod
to on-device
, follow these best practices to avoid errors and ensure the best performance.
- If you decide to call
getOffers()
withdecisioningMethod
ason-device
when the page loads for the first time, you must do so inside the “ARTIFACT_DOWNLOAD_SUCCEEDED” at.js event handler to avoid errors. If your artifact is very large, any “locations” using this approach are rendered only after the artifact is fully downloaded, which can delay experience rendering. Adobe recommends that you rarely use this approach. Follow the best practices to reduce artifact size under the “On Device” best practices section above when using this approach.
Previous pageTroubleshooting on-device decisioning
Next pageNode.js SDK overview
Personalization & Experiementation Excellence with Recommendations and AI
Adobe Customer Success Webinars
Tuesday, Mar 4, 4:00 PM UTC
Adobe Target innovations, including GenAI, and best practices on AI-powered personalization and experimentation at scale.
RegisterAdobe Target at Summit
Register for these developer sessions:
- Put the Customer at the Center and Build Relationships That Last a Lifetime (attend online)
- The Secret to Next-Level Mobile App Engagement and Growth
- Boost Experimentation with Auto-Created Tests the Home Depot Way
- Transforming D2C: How CASIO Delivers Immersive, Personalized Web Experiences
- A Tax Transformation: How H&R Block and Adobe MarTech Improved Engagement
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more