Validate the Platform Web SDK implementation
After you have migrated your Target implementation from at.js to Platform Web SDK, it’s important to validate everything is working properly before publishing any changes to your production site. Adobe recommends the following, which is covered in detail on this page:
- Perform a technical validation to make sure the basic implementation and Platform Web SDK requests and responses look correct
- Ensure that Target activities are delivered and rendered properly
- Check that reporting works correctly
- Revisit audiences and profile scripts to make sure they are compatible with Platform Web SDK
- Ensure integrations with Adobe or third-party applications work correctly
Every Target implementation is different depending on site architecture and features used. You may use the tables below as a starting point and add any items unique to your implementation. The Debugging page of this tutorial shows you tools you can use to help with this validation.
Technical validation
at-body-style
. Leaving this old snippet on the page results in hidden content until the snippet timeout is reached.sendEvent
requestsendEvent
responsesrenderDecisions
option is set to true
or scopes are requested and the user qualifies for a particular Target activitydecisioning.propositionDisplay
event fires after VEC-based activities renderdecisioning.propositionDisplay
event fires after form-based activities renderdecisioning.propositionDisplay
event fires when an offer is applied on a SPA view changedecisioning.propositionDisplay
event does NOT fire when a SPA component re-renders for a given viewdecisioning.propsitionInteract
event fires after an activity conversiontrackEvent
or sendNotifications
are expected to have separate event callssendEvent
response and have expected valuesActivity delivery and rendering
Reporting
decisioning.propositionDisplay
eventtrackEvent
or sendNotifications
which are commonly used with the “viewed an mbox” goalAudiences and profile scripts
Integrations with Adobe applications
Integrations with third-party applications
sendEvent
calls to TargetAfter performing the validation steps above, you can be confident that the Platform Web SDK implementation is ready to move to production.
Next, learn how to troubleshoot a Target implementation using Platform Web SDK.