comparison xslt/ga.xslt @ 544:1507ec5ba69a

Regenerated
author Sergey Budnevitch <sb@waeme.net>
date Wed, 20 Jun 2012 13:50:58 +0000
parents
children c454373427ef
comparison
equal deleted inserted replaced
543:9085f0c59dc6 544:1507ec5ba69a
1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4 <xsl:template name="ga">
5
6 <script type="text/javascript">
7
8 var _gaq = _gaq || [];
9 _gaq.push(['_setAccount', 'UA-27974099-2']);
10 _gaq.push(['_setDomainName', 'nginx.org']);
11 _gaq.push(['_trackPageview']);
12
13 (function() {
14 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
15 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);
17 })();
18
19 </script>
20 </xsl:template>
21
22 </xsl:stylesheet>