Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.

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 ?