Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!

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 ?