Target at.js to Platform Web SDK migration overview
The level of effort to migrate from at.js to Platform Web SDK depends on the complexity of your current implementation and product features used.
No matter how simple or complex your implementation is, it’s important to fully understand your current state before migrating. This guide helps you to break down the components of your current implementation and develop a manageable plan to migrate each piece.
The migration process involves the following key steps:
- Assess your current implementation and determine a migration approach
- Set up the initial components to connect to the Adobe Experience Platform Edge Network
- Update the foundational implementation to replace at.js with the Platform Web SDK
- Enhance the Platform Web SDK implementation for your specific use cases. This may involve passing additional parameters, accounting for single-page app (SPA) view changes, using response tokens, and more.
- Update objects in the Target interface, such as profile scripts, activities, and audience definitions
- Validate the final implementation before making the switch in your production environment
Key differences between at.js and Platform Web SDK
Before starting the migration process, it is important to understand the differences between at.js and the Platform Web SDK.
Operational differences
The Platform Web SDK combines the functionality of multiple Adobe applications into a single library. This unified approach means you should consider cross-team responsibilities and processes to ensure a healthy implementation.
Technical differences
The Platform Web SDK is not an evolution of the Target at.js library. It is a new and unified approach for implementing all Adobe applications for the web channel. There are several technical differences to be aware of.
-
mbox
-
pageLoad
event (global mbox)-
offer
-
decisionScope
-
__view__
decisionScope-
proposition
Video overview
The following video gives an overview of the Adobe Experience Platform Web SDK and Adobe Experience Platform Edge Network.
Now that you understand the high-level differences between at.js and the Platform Web SDK, you can plan the migration.