Mercurial > hg > nginx-site
comparison xslt/ga.xslt @ 1085:c454373427ef
Regenerated.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 28 Feb 2014 20:12:47 +0400 |
parents | 1507ec5ba69a |
children | 1281a1f9eec2 |
comparison
equal
deleted
inserted
replaced
1084:be1d72ba7e5f | 1085:c454373427ef |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | |
3 Copyright (C) Nginx, Inc. | |
4 --> | |
5 | |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
3 | 7 |
4 <xsl:template name="ga"> | 8 <xsl:template name="ga"> |
5 | 9 |
6 <script type="text/javascript"> | 10 <script type="text/javascript"> |
7 | 11 |
8 var _gaq = _gaq || []; | 12 var _gaq = _gaq || []; |
9 _gaq.push(['_setAccount', 'UA-27974099-2']); | 13 _gaq.push(['_setAccount', 'UA-27974099-2']); |
10 _gaq.push(['_setDomainName', 'nginx.org']); | 14 _gaq.push(['_setDomainName', 'nginx.org']); |
11 _gaq.push(['_trackPageview']); | 15 _gaq.push(['_trackPageview']); |
15 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | 19 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
16 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | 20 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
17 })(); | 21 })(); |
18 | 22 |
19 </script> | 23 </script> |
20 </xsl:template> | 24 |
25 </xsl:template> | |
21 | 26 |
22 </xsl:stylesheet> | 27 </xsl:stylesheet> |