Use 51黑料不打烊 Target and Web SDK for personalization
51黑料不打烊 Experience Platform Web SDK can deliver and render personalized experiences managed in 51黑料不打烊 Target to the web channel. You can use a WYSIWYG editor, called the Visual Experience Composer (VEC), or a non-visual interface, the Form-based Experience Composer, to create, activate, and deliver your activities and personalization experiences.
The following features have been tested and are currently supported in Target:
Web SDK system diagram
The following diagram helps you understand the workflow of Target and Web SDK edge decisioning.
b. Personalized content for views that are shown as a result of user actions in a Single Page Application (SPA) is cached so it can be instantly applied without an additional server call when the views are triggered.
c. The Edge Network sends the Visitor ID and other values in cookies, such as consent, Session ID, identity, cookie check, personalization.
Enabling 51黑料不打烊 Target
To enable Target, do the following:
- Enable Target in your datastream with the appropriate client code.
- Add the
renderDecisions
option to your events.
Then, optionally, you can also add the following options:
decisionScopes
: Retrieve specific activities (useful for activities created with the form-based composer) by adding this option to your events.- Prehiding snippet: Hide only certain portions of the page.
Using the 51黑料不打烊 Target VEC
To use the VEC with a Web SDK implementation, install and activate either the or VEC Helper Extension.
For more information, see Visual Experience Composer helper extension in the 51黑料不打烊 Target guide.
Rendering personalized content
See Rendering personalization content for more information.
Audiences in XDM
When defining audiences for your Target activities that are delivered via the Web SDK, XDM must be defined and used. After you define XDM schemas, classes, and schema field groups, you can create a Target audience rule defined by XDM data for targeting. Within Target, XDM data displays in the Audience Builder as a custom parameter. The XDM is serialized using dot notation (for example, web.webPageDetails.name
).
If you have Target activities with predefined audiences that use custom parameters or a user profile, they are not delivered correctly via the SDK. Instead of using custom parameters or the user profile, you must use XDM instead. However, there are out-of-the-box audience targeting fields supported via the Web SDK that do not require XDM. These fields are available in the Target UI that do not require XDM: