Terminologies:
- Mbox - referenced as "Location" in Target's web interface. You can think of this as the div that will house the Experience's Offer.
- Offer - the actual content that will go in an Mbox. This can be plain text, HTML or Javascript.
mbox.js
does an JS.append of the entire content.at.js
insertion is based on how React does the insertion upon render.
Notes:
- Use
at.js
if using this under React.
As far as I can tell, Target's AB testing model (using React) is as follows:
- Load the component
- The first time an `` component is encountered, send an AJAX request to Adobe which retrieves the Offer.