js code not executing before page load in AT.js | Community
Skip to main content
September 24, 2018

js code not executing before page load in AT.js

  • September 24, 2018
  • 3 replies
  • 15307 views

Hi All,

I create a campaign in adobe target which needs to be set some window varaiable value before page load. It was working fine in mbox js. now my production site is migrated from Mbox.js to At.js.  After At.js its not executing before page load. is there any way to do that?.

Thanks,

Hariharan S

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Adobe Employee
September 24, 2018

HariharanSubramanian_21

After Migrating from mbox.js to at.js, have you ensured that you have Global auto-create mbox enabled?

How at.js Works

September 24, 2018

How can i check the Global auto-create mbox enabled or not?

Adobe Employee
September 24, 2018

HariharanSubramanian_21

In Target, go to Setup -> Implementation then edit at.js settings.

Ensure Auto Create is enabled, then load this library via DTM.

September 24, 2018

Hi RamH​,

Auto create mbox option is already enabled.... Still its not working

Adobe Employee
September 24, 2018

If you are using DTM ensure that _satellite is firing in the <head> section of the page.

Also, if this was an activity created when using mbox.js, it may need to be updated to work with at.js, as per: Migrate to at.js from mbox.js

Append the URL with mboxDebug=console and confirm that all AT actions are rendering successfully