2 Replies Latest reply on Feb 16, 2018 4:14 AM by scotk94193749

    How to fetch a specific offer in Adobe Target?

    PSinghal Level 1

      Hi All


      I have a requirement in my project. I need to fetch a specific offer at runtime and apply it on the DOM. Below is the description


      1: User launch the website.

      2: Clicks on a button. This button will open a popup.

      3: Content of this popup is fetched via an AJAX call.

      4: Once the Dynamically fetched content is pasted in the popup, an Adobe target offer should be fetched and applied.


      I am able to fetch all the offers using 'adobe.target.getOffer' as described in the Documentation( https://marketing.adobe.com/resources/help/en_US/target/ov2/r_target-atjs-getoffer.html). It returns an Array of offers. Now I have 2 questions here


      1: How to identify a specific offer from it?

      2: How to fetch only the required offer from target and apply it.


      Thanks in advance!