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
SOLVED

Exclude component from being overwritten by mbox

Avatar

Level 1

Hello fellow wizards,

I am currently building an AB test on a custom mbox "failedSearchMbox" and as expected all the code is injected into the container div. As part of the original page there is a dynamic block loading product recommendations. I have tried to add the original code but it's not working as expected.

Is there a way we can create an exception so that this specific component can be kept on the page without being replaced?

Many Thanks.

1 Accepted Solution

Avatar

Correct answer by
Employee

luisp46672881​, mboxes have been designed to replace a particular DIV completely using a designated offer. I think that you should try using Visual Experience Composer which has the notion of CSS selectors, so you could be more specific about which elements on the page should be changed. You can found more about Visual Experience Composer here: Experiences

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

luisp46672881​, mboxes have been designed to replace a particular DIV completely using a designated offer. I think that you should try using Visual Experience Composer which has the notion of CSS selectors, so you could be more specific about which elements on the page should be changed. You can found more about Visual Experience Composer here: Experiences