Expand my Community achievements bar.

SOLVED

Load at.js async while launch is loaded synchronously

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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.