AT.js and a HTML offer

Avatar

Avatar

jorisdebeer

Avatar

jorisdebeer

jorisdebeer

13-06-2017

Hello,

I am using Adobe DTM to deploy AT.js (0.9.6) and a Global MBox.

When I create my form based Experience in Adobe Target, and choose my HTML offer, I'm noticing that all of the HTML content is stripped away. Content inside an <style>, or <script> tags are preserved, but the HTML content is removed.

My guess is that AT.js inserts itself in the <HEAD> tags, and HTML content is not supported here. But how can I use a Global MBox but target the insertion in the page body, or alternatively, how can I configure the offer so all of the HTML content is safely encoded?

View Entire Topic

Avatar

Avatar

ParitMittal

Avatar

ParitMittal

ParitMittal

14-06-2017

Hi Joris,

When you are using a Form based experience Composer to create an experience , you will be definitely choose an mbox which will identify the location on your page where you are trying to deliver content of the experience and Hence the content ( Htrml offer or any thing else) will be delivered to the chosen mbox location. So your guess that  AT.js inserts itself in the <HEAD> tags, and HTML content is not supported here doesn't hold good here.

Also, Are you using document.write in the HTML offer ?.Can you please share Adobe Target Account credential & Activity URL in a private message on forum so that we can debug the issue at our end.

Regards

Parit