Answer the question
In order to leave comments, you need to log in
How can I implement proper lazy loading of a CoMagic script?
Hello, there is such a task. It is necessary to optimize the page on which the CoMagic code of this kind is placed.
<script type="text/javascript">
var __cs = __cs || [];
__cs.push(["setCsAccount", "xxxxxxxx"]);
</script>
<script type="text/javascript" src='https://app.comagic.ru/static/cs.min.js' async></script>
Answer the question
In order to leave comments, you need to log in
And what will it give you? 1 pip in Pagespeed? You shouldn't bother so much, if it swears at JS and CSS
And what does it swear at?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question