Expand my Community achievements bar.

SOLVED

Which JS Library For New Target Standard Launch

Avatar

Level 2

New launch of Target Std has been rocky and I'm beginning to wonder if the at.js is ready for prime time.  I was instructed to use at.js and I have live on www.pbjtest.com; david.pbjtest.com and seta.pbjtest.com.  Deployed in common include file and verified all pages have the JS.  The only campaigns I can create via VCE (note had to turn off EEC) are for david.pbjtest.com, all other domains, which are listing in my Hosts section error out, and no one can explain why.  

Is anyone using at.js or is this purely beta and mbox.js is the only way to fly?

Also are any of there any debuggers working for at.js?  Can I use mboxTrace= or the Adobe Marketing Cloud Debugger. If using mboxTrace= do I need an authorization token and how do I generate one?

Not the smooth launch I had expected.  

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi David,

Glad you were able to resolve the problems you were having with the Experience Composer in your environment.  at.js v0.9.1 seems very stable and I haven't heard of any issues with it (I work closely with the engineers developing it).  IMO, it is much better than mbox.js.  We are working on ways to simplify usage of mboxTrace, mostly to make it easier to get the token and understand what it is showing.

Daniel

View solution in original post

6 Replies

Avatar

Level 10

Hi David ,

For information on debugging at.js ,please see the following link : https://marketing.adobe.com/resources/help/en_US/target/ov2/c_target-debugging-atjs.html 

We are looking into the other parts of your query and will get back to you ASAP

Thanks & Regards

Parit Mittal

Avatar

Level 2

Update on solution.

Root cause: X-Frame-Options=SAMEORIGIN in my web site's server header responses.

Removed header and at.js deplolyed via DTM.  VEC working again after disabling EEC.

Avatar

Correct answer by
Employee Advisor

Hi David,

Glad you were able to resolve the problems you were having with the Experience Composer in your environment.  at.js v0.9.1 seems very stable and I haven't heard of any issues with it (I work closely with the engineers developing it).  IMO, it is much better than mbox.js.  We are working on ways to simplify usage of mboxTrace, mostly to make it easier to get the token and understand what it is showing.

Daniel

Avatar

Level 2

Thanks Daniel,

Next up I'm attempting to load content in the VEC that is triggered via an <iframe> after a timeout when a user is on a particular page.  https://www.pbjtest.com/EmailSignUpPopUp/dialogContent.cfm?siteCode=PBJ is the final page I am attempting to build an experience over.  Getting a timeout error, have attached.

Avatar

Employee Advisor

Hi David,

The URL you posted (https://www.pbjtest.com/EmailSignUpPopUp/dialogContent.cfm?siteCode=PBJ) does not appear to have at.js or any mboxes on it.  It's the second half of the error message--"does not contain Target libraries"--that is relevant here, not that there is a timeout in the VEC.  You mention iframes.  Is this URL iframed by a page with Target code?  If so, that is not going to help you, as iframes are by design sandboxed from eachother.  If you are trying to test content on the URL (https://www.pbjtest.com/EmailSignUpPopUp/dialogContent.cfm?siteCode=PBJ) that URL must have Target implemented on it, and this should be the URL that you open and edit in the VEC.


Daniel

Avatar

Level 2

I have added the include for mbox.js to this page and have VEC responding.  

Next up reporting revenue back to Target as part of my success metrics so they can be reported upon.  We are using Target for reporting. 

I've set up via DTM the following rule.

I've exposed all the variables I believe I will required via the attached and have mapped in DTM.http://goo.gl/EA1SxH

What are my next steps to be able to report back to Target this revenue?