Show Menu
TOPICS×

Server Side: implement Target

Information about Adobe Target server-side delivery APIs, Node.js SDK, and Target Recommendations APIs.
The following process occurs in a server-side implementation of Target:
  1. A client device makes a request for an experience through your server.
  2. Your server sends that request to Target.
  3. Target sends the response back to your server.
  4. Your server makes the decision on which experience to deliver to the client device for it to render.
The experience does not need to display in a browser. The experience can display in an email or kiosk, via a voice assistant, or through some other non-visual experience or non-browser-based device. Because your server sits between the client and Target, this type of implementation is also ideal if you need greater control and security or have complex backend processes that you want to run on your server.
The following sections provide more information about the various APIs and the NodeJS SDK:

Server Side Delivery APIs

/rest/v1/delivery
Throught the Target Delivery API, you can:
  • Deliver experiences across web, including SPAs, and mobile channels as well as non-browser based IoT devices, such as connected TVs, kiosks, or in-store digital screens.
  • Deliver experiences from any server-side platform or application that can make HTTP/s calls.
  • Deliver consistent and personalized experiences to a visitor regardless of which channel or devices the visitor used to engage with your business.
  • Cache experiences for a visitor within a session on your server so that multiple API calls can be avoided, which achieves better performance.
  • Seamlessly integrate with Adobe Experience Cloud products, such as Adobe Analytics, Adobe Audience Manager (AAM), and the Experience Cloud ID Service from the server side.

Node.js SDK

The Node.js SDK is a sophisticated software development kit that removes the complexities of managing cookies, sessions, and integrating with Experience Cloud products, such as Analytics, Experience Cloud Visitor ID Service, and Audience Manager. Behind the scenes, the Node.js SDK uses the /rest/v1/delivery API. Here are some notable features that are supported in the Node.js SDK:
  • Support for prefetch and notifications that allow you to optimize for performance via caching: You can use the Node.js SDK to retrieve experiences and cache them locally on your Node.js server with the purpose of minimizing server calls to Target and optimizing your application performance.
  • Ability to retrieve VEC-created activities: Retrieve VEC-created activities on the server-side. The response that contains VEC-created activities has selectors that can be used to pre-hide only portions of your page that need to be personalized. This helps optimize your page's First Contentful Paint metric , which is an important KPI for your business to achieve a high score in the Google PageRank system.

Target Java SDK

The Java SDK is a sophisticated software development kit that removes the complexities of managing cookies, sessions, and integrating with Adobe Experience Cloud solutions, such as Adobe Analytics, the Experience Cloud Visitor ID Service, and Adobe Audience Manager. Behind the scenes, the Java SDK uses the /rest/v1/delivery API. Here are some notable features that are supported in the Java SDK:
  • Support for prefetch and notifications that allow you to optimize for performance via caching : You can use the JavaSDK to retrieve experiences and cache them locally on your Java server with the purpose of minimizing server calls to Target and optimizing your application performance.
  • Ability to retrieve VEC-created activities : Retrieve VEC-created activities on the server-side. The response that contains VEC-created activities has selectors that can be used to pre-hide only portions of your page that need to be personalized. This helps optimize your page's First Contentful Paint metric, which is an important KPI for your business to achieve a high score in the Google PageRank system.

Target Recommendations APIs

The Recommendations APIs let you programmatically interact with Target recommendations servers. These APIs can be integrated with a range of application stacks to perform functions that you would typically do via the Target user interface.