Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.
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.