view xsls/ga.xsls @ 2087:4931a7ba6a32

Restored proper tense in limit_conn description. The limit_conn module only limits connections with active requests, that is, if a connection has a request "being processed" by the server. During a text review in 95c3c3bbf1ce it was changed to "has a request processed", which is incorrect (it is true after processing the first request). Reported by Abilio Marques, http://mailman.nginx.org/pipermail/nginx/2017-December/055322.html.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 19 Dec 2017 20:49:06 +0300
parents 8b26399868ed
children
line wrap: on
line source

<!--
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:template ga () {

    <script>
        (function(w, d, s, l, i) \{
            w[l] = w[l] || [];
            w[l].push(\{
                'gtm.start': new Date().getTime(),
                event: 'gtm.js'
            \});
            var f = d.getElementsByTagName(s)[0],
                j = d.createElement(s),
                dl = l != 'dataLayer' ? '&amp;l=' + l : '';
            j.async = true;
            j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl;
            f.parentNode.insertBefore(j, f);
        \})(window, document, 'script', 'dataLayer', 'GTM-TPSP33');
    </script>

}

}