Expand my Community achievements bar.

JOIN US Next Wednesday, 12/6/23 @ 8am PT for the next Community Q&A Coffee Break! Bring your Machine Learning, AI Reporting & Analysis Questions to the chat. Experts Brent Kostak, Cristinel Anastasoaie, & Drew Burns of the Adobe Target Product Team will be providing deep insights and useful tips

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 .