Mercurial > hg > nginx-site
view xsls/ga.xsls @ 2415:f5f0d3fe3608
Fixed date in news.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 13 Aug 2019 19:01:32 +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> } }