roistat checking fix

remotes/origin/hasaccess^2
nikita 8 years ago
parent 9d3f86cede
commit c64f61b5a0
  1. 3
      project/templates/lilcity/index.html

@ -75,8 +75,7 @@
</script>
{% comment %} ROISTAT {% endcomment %}
<script>
ROISTAT_COUNTER_ID = "{% setting 'ROISTAT_COUNTER_ID' %}"
(function(w, d, s, h, id) { w.roistatProjectId = id; w.roistatHost = h; var p = d.location.protocol == "https:" ? "https://" : "http://"; var u = /^.*roistat_visit=[^;]+(.*)?$/.test(d.cookie) ? "/dist/module.js" : "/api/site/1.0/"+id+"/init"; var js = d.createElement(s); js.charset="UTF-8"; js.async = 1; js.src = p+h+u; var js2 = d.getElementsByTagName(s)[0]; js2.parentNode.insertBefore(js, js2);})(window, document, 'script', 'cloud.roistat.com', ROISTAT_COUNTER_ID);
(function(w, d, s, h, id) { w.roistatProjectId = id; w.roistatHost = h; var p = d.location.protocol == "https:" ? "https://" : "http://"; var u = /^.*roistat_visit=[^;]+(.*)?$/.test(d.cookie) ? "/dist/module.js" : "/api/site/1.0/"+id+"/init"; var js = d.createElement(s); js.charset="UTF-8"; js.async = 1; js.src = p+h+u; var js2 = d.getElementsByTagName(s)[0]; js2.parentNode.insertBefore(js, js2);})(window, document, 'script', 'cloud.roistat.com', {% setting 'ROISTAT_COUNTER_ID' %});
</script>
{% block foot %}{% endblock foot %}
</body>

Loading…
Cancel
Save