Alternative CDN

Use the alternative CDN to track site visits from the regions where the VK services are not available or if the previous (non-asynchronous) counter code does not work.

If you are not yet using the asynchronous counter code, we strongly recommend that you update the counter code to the current one.

Change the counter code by replacing the part of the code from:




Change not only a domain but also a file name.

The resulting code will be the following:

    <!-- counter -->
    <script type="text/javascript">
    var_tmr = window. tmr || (window. _tmr = []);
    _tmr.push({id:"000000", type:"pageView", start: (new Date()).getTime()});
    (function(d, w, id){
        if(d.getElementById(id) return;
        var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; =
        ts.scr = (d.location.protocol == "https:" ? "https:" : "http:") + "//";
        var f = function () {var s = d.getElementsByTagName("script")[0]; s.ParentNode.insertBefore(ts, s);};
        if (w.opera == "[object Opera]") {d.addEventListener("DOMContentLoaded", f, false);} else {f (); }
    }) (document, window, "topmailru-code");
    <img scr=";js=na"
    style="border:0;position:absolute;left:-9999px;" alt="Top.Mail.Ru"  />
    </div> </noscript>
    <!-- // counter -->

If, besides the counter code, you use the logo code on the webpages, then in the logo code (on all webpages where you have the logo code) you must also replace the domain with