Load JS asynchronously and run the of sample code
- 2020-03-30 00:52:59
- OfStack
As follows:
(function(){
var ga=document.createElement('script');ga.type?=?'text/javascript';?ga.async?=?true;
ga.src?=?('https:'?==?document.location.protocol???'https://ssl'?:?'http://www')?+?'.google-analytics.com/ga.js';
var?s?=?document.getElementsByTagName('script')[0];?
s.parentNode.insertBefore(ga,?s);
})();