Expand my Community achievements bar.

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 .