Skip to content

jasonwaters/target-nodejs-sdk-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Adobe Target Node.js SDK Samples & Demos

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.4%
  • Smarty 6.5%
  • Handlebars 4.2%
  • SCSS 2.3%
  • CSS 0.6%