Highlighted

js code not executing before page load in AT.js

HariharanSubra1 24-09-2018

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

Replies

Highlighted
ramih79012734
Employee
24-09-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.

Highlighted
ramih79012734
Employee
24-09-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

Highlighted
HariharanSubra1 08-10-2018

Hi RamH​,

I checked with 'mboxDebug=console' parameter. In console I can see all the AT.js  methods are triggering. But still VEC header customized code executing after the page load only.

Thanks,

Hariharan S