Load at.js async while launch is loaded synchronously | Community
Skip to main content
November 1, 2019
Solved

Load at.js async while launch is loaded synchronously

  • November 1, 2019
  • 1 reply
  • 2458 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Shruti_Premkumar

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.

1 reply

Shruti_PremkumarAdobe EmployeeAccepted solution
Adobe Employee
November 1, 2019

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.