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
BedrockMission!

Learn More

View all

Sign in to view all badges

js code not executing before page load in AT.js

Avatar

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile
HariharanSubra1
Level 3

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

Avatar

Avatar
Give Back 5
Employee
Rami_Hammad
Employee

Likes

34 likes

Total Posts

31 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
Rami_Hammad
Employee

Likes

34 likes

Total Posts

31 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
Rami_Hammad
Employee

24-09-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

Avatar

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile
HariharanSubra1
Level 3

24-09-2018

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

Avatar

Avatar
Give Back 5
Employee
Rami_Hammad
Employee

Likes

34 likes

Total Posts

31 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
Rami_Hammad
Employee

Likes

34 likes

Total Posts

31 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
Rami_Hammad
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.

Avatar

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile
HariharanSubra1
Level 3

24-09-2018

Hi RamH​,

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

Avatar

Avatar
Give Back 5
Employee
Rami_Hammad
Employee

Likes

34 likes

Total Posts

31 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
Rami_Hammad
Employee

Likes

34 likes

Total Posts

31 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
Rami_Hammad
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

Avatar

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile

Avatar
Boost 5
Level 3
HariharanSubra1
Level 3

Likes

24 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile
HariharanSubra1
Level 3

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