Mercurial > hg > nginx-site
view xsls/ga.xsls @ 1485:f4360f884f2d
Donor added.
author | Maxim Konovalov <maxim@nginx.com> |
---|---|
date | Thu, 21 May 2015 11:02:01 +0000 |
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> } }