Future of the Document.Write issue
We would like to know what Adobe is doing to address the document.write issue that google is warning us about?
Our development team pointed out some concerns that we have in the following excerpt:
document.write is being used to inject scripts into the page. This is bad practice, and Google Chrome warns us about it for a couple of reasons.
- It's bad for performance because it blocks render of items that follow it in the page. Tangentially related to this ticket (but specifically important for performance) is the fact that so many scripts are loaded this way. Could these be consolidated as well as minified+gzipped?
- Since it's bad for performance, Chrome has decided to only wait so long on such resources to load before giving up on them and excluding them from the page. In other words a network hiccup or a slow connection can cause those scripts to be aborted and never loaded. I would think this could result in data loss for Analytics.
