Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.

Adobe launch Async javascript differing

Avatar

Level 6

Hi ,

We have an issue in the site where Analytics launch code  is blocking first paint of the page.

1. Can we add defer attribute to load below scripts after page HTML parsing?

2. And also , Can Adobe launch Async called at the bottom of the page?

 

Please suggest.

 

Thanks,

 

Pradeep

2 Replies

Avatar

Level 10

Pradeep, are you using an async version of the Launch library? If not, just add async, but do not add defer as it will not work.

Avatar

Level 1

hi @Andrey_Osadchuk  if we add async, but if try to track events before script is loaded, the data will be loss right ?