Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 2.93 KB

README.md

File metadata and controls

39 lines (31 loc) · 2.93 KB

Target Node.js SDK Samples & Demos

This repository contains samples and demos for the Target Node.js SDK

Demos

  • react-shopping-cart-demo - a demo showing how to fetch and inject Target offers in a React Redux app on the server side and then instantly apply the offers on the client side, without any additional client-side Target calls.
  • next-server-side-rendering-demo - a demo showing how to fetch and inject Target offers in a Next.js server-side rendered app, and then instantly apply the offers on the client side, without any additional client-side Target calls.

Samples

  • target-only - shows how Target Node.js SDK can be used in isolation
  • ecid-integration - shows how Target Node.js SDK can be used in conjunction with ECID (Visitor API)
  • ecid-customer-ids-integration - shows how Target Node.js SDK can be used in conjunction with ECID (Visitor API) and Customer IDs, useful for tracking user authentication.
  • ecid-analytics-integration - shows how Target Node.js SDK can be used in conjunction with ECID (Visitor API) and Adobe Analytics.
  • ecid-analytics-atjs-integration - shows how Target Node.js SDK can be used in conjunction with ECID (Visitor API), Adobe Analytics and at.js. This sample shows how to run testing in "hybrid" mode, when the test is started on the server side and then it is handed off to at.js on the client side.
  • advanced-atjs-integration-serverstate - shows how to use at.js v2.2+ serverState feature to apply Target offers fetched on the server side, without any additional client side content-fetching Target calls.
  • target-traces - shows how Target Node.js SDK can be used to retrieve Target execution traces.
  • shared-ecid-analytics-integration - shows how to properly handle multiple Target Node.js SDK API calls when processing a client request, sharing the same ECID instance.
  • multiple-mbox-ecid-analytics-atjs-integration - shows how Target Node.js SDK can be used to request content for multiple mboxes in the same Target call.
  • on-device-decisioning - shows how Target Node.js SDK can be used in on-device decisioning method
  • feature-flag - shows how Target Node.js SDK can be easily used for feature flags

For Target Node.js SDK documentation, see Target Node.js SDK NPM page.

Contributing

Check out our Contribution guidelines as well as Code of Conduct prior to contributing to Target Node.js SDK samples.