Expand my Community achievements bar.

Take 10 minutes to complete an Adobe Target review on Gartner Peer Insights, and as a thank you for your time, you’ll have the option to receive a $25 gift card!

Create mbox

Avatar

Level 3

How to I use getOffer() to create mbox on a specific div? Let said I have a container name id="wrapper" and I want to create a dynamic mbox in this wrapper.  Please provide an example

1 Reply

Avatar

Employee

Hi,

Not sure if you have already viewed the at.js functions documentation at at.js functions  . There are some samples provided there .

You can use the selector option in adobe.target.applyOffer(options) to define the HTML element or CSS selector used to identify the HTML element where Target should place the offer content .