Answer the question
In order to leave comments, you need to log in
How to find a duplicate script in bitrix?
I paste the code in header.php before the closing tag
<script type="text/javascript">
var __cs = __cs || [];
__cs.push(["setCsAccount", "r2SUDNORm1gfqBLnmsTKxXUGPDXE9zcA"]);
</script>
<script type="text/javascript" async src="//app.comagic.ru/static/cs.min.js"></script>
var __cs = __cs || [];
__cs.push(["setCsAccount", "r2SUDNORm1gfqBLnmsTKxXUGPDXE9zcA"]);
var __cs=__cs||[];__cs.push(["setCsAccount","WwXzXvFeSlrSyfGXaFudK4sZALPhnKOg"]);
Answer the question
In order to leave comments, you need to log in
Actually, Bitrix has a very mediocre attitude to this issue, and the question here is much deeper: how to find duplication of information on the site in general.
Read about grep
there was a commented duplicate of the script, it was pulled up
<!-- <script type="text/javascript" async src="//app.comagic.ru/static/cs.min.js"></script> -->
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question