Mercurial > hg > nginx-site
view xsls/ga.xsls @ 1652:68b647a96448
Documented that "map" does a caseless string comparison.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 11 Feb 2016 12:32:04 +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> } }