htdocs: add Google Analytics support.
Use IP Anonymization.
This commit is contained in:
parent
7098fc6039
commit
8fd8398379
|
@ -0,0 +1,12 @@
|
|||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-42882943-1']);
|
||||
_gaq.push(['_gat._anonymizeIp']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
|
@ -55,5 +55,6 @@ uninitialized variables, unused functions" />
|
|||
<p><a href="/cgi-bin/archive.zip">Download all</a></p>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #content -->
|
||||
<?php include_once("../analyticstracking.php") ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -89,5 +89,6 @@ void f()
|
|||
<span class="br0">}</span></pre>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #content -->
|
||||
<?php include_once("../analyticstracking.php") ?>
|
||||
</body>
|
||||
</html>
|
|
@ -169,5 +169,6 @@
|
|||
?>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #content -->
|
||||
<?php include_once("../../analyticstracking.php") ?>
|
||||
</body>
|
||||
</html>
|
|
@ -109,5 +109,6 @@ the latest sources in a zip or tgz archive</a> from the github website.</p>
|
|||
</ul>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #content -->
|
||||
<?php include_once("../analyticstracking.php") ?>
|
||||
</body>
|
||||
</html>
|
|
@ -155,5 +155,6 @@ which is oriented for this environment. A comparison of Cppcheck and PVS-Studio
|
|||
</dl>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #content -->
|
||||
<?php include_once("analyticstracking.php") ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue