Mercurial > hg > nginx-site
view xsls/ga.xsls @ 2819:b7ff3d1915a1
Development guide: fixed misleading comment about rc.options.
While ngx_regex_compile() indeed used to pass rc.options as is to
pcre_compile(), this is certainly not a guaranteed property of the
interface. Further, it is no longer true since introduction of PCRE2
support in nginx 1.21.5.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 13 Jan 2022 01:36:10 +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' ? '&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> } }