Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Migration to at.js - Adding html using form based experience setup

ruchaj45469490
Level 1
Level 1

Hi,

I am evaluating a migration from mbox.js to at.js and have encountered an issue. 

I have replaced mbox.js to at.js with an auto create mbox setting.

When I try to setup an experience using form based setup: any javascript in the HTML offer works perfectly but if I add some html for e.g.:" <div> hiii </div> " , it does not appear anywhere on the page.

With mbox.js I was able to view the HTML offer in the target-global-mbox div on the page. 

Where exactly does at.js create an mbox, and why is this mbox not visible in the generated html of the page?

1 Accepted Solution
ParitMittal
Correct answer by
Level 10
Level 10

Hi Rucha,

Actually at.js doesn't add a <div> element to the top of the page Hence the HTML doesn't appear any where on the page.

Regards

Parit Mittal

View solution in original post

1 Reply
ParitMittal
Correct answer by
Level 10
Level 10

Hi Rucha,

Actually at.js doesn't add a <div> element to the top of the page Hence the HTML doesn't appear any where on the page.

Regards

Parit Mittal

View solution in original post