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

SOLVED

Load at.js async while launch is loaded synchronously

sabithar6283303
Level 1
Level 1

Can anybody share your thoughts around how to load Adobe Target async while the launch is loaded synchronously?

We had this option in DTM by using a checkbox.

1849608_pastedImage_0.png

1 Accepted Solution
Shruthi_N
Correct answer by
Employee
Employee

Hi sabithar6283303​ , at.js itself is asynchronous. Once you load the script onto the page (which is what Launch is doing sync) the rest of Target is async. Target (at.js) is bundled with the launch library. So the "at.js" will be delivered to the page sync if Launch is sync. However, all the calls that the at.js makes are async calls to Target server.So there  is no other steps you need to take specifically in Launch to load target libraries asynchronously.

View solution in original post

1 Reply
Shruthi_N
Correct answer by
Employee
Employee

Hi sabithar6283303​ , at.js itself is asynchronous. Once you load the script onto the page (which is what Launch is doing sync) the rest of Target is async. Target (at.js) is bundled with the launch library. So the "at.js" will be delivered to the page sync if Launch is sync. However, all the calls that the at.js makes are async calls to Target server.So there  is no other steps you need to take specifically in Launch to load target libraries asynchronously.

View solution in original post