www/adiumxtras.com 67:5cc387ea110f: Add back the Google Analytic...

commits at adium.im commits at adium.im
Sat Nov 28 02:29:26 UTC 2015


details:	http://hg.adium.im/www/adiumxtras.com/rev/5cc387ea110f
revision:	67:5cc387ea110f
branch:		adiumxtras.com
author:		Frank Dowsett <wixardy at adium.im>
date:		Fri Nov 27 21:28:26 2015 -0500

Add back the Google Analytics I removed by accident.

diffs (27 lines):

diff -r 9a6e17c611e4 -r 5cc387ea110f download.php
--- a/download.php	Sun Nov 22 19:56:13 2015 -0500
+++ b/download.php	Fri Nov 27 21:28:26 2015 -0500
@@ -1,1 +1,1 @@
-<?php header(sprintf("Location: download/%s", intval(getParam('xtra_id'))));
\ No newline at end of file
+<?php header(sprintf("Location: download/%s", intval($_GET['xtra_id'])));
\ No newline at end of file
diff -r 9a6e17c611e4 -r 5cc387ea110f templates/footer.tpl
--- a/templates/footer.tpl	Sun Nov 22 19:56:13 2015 -0500
+++ b/templates/footer.tpl	Fri Nov 27 21:28:26 2015 -0500
@@ -7,6 +7,13 @@
 			<div id="powered"><a class="networkredux" href="http://www.networkredux.com"><img src="images/network_redux.png" alt="Hosted by Network Redux" style="border: 0;" /></a></div>
 		</div>
     </div>
-
+	<script type="text/javascript">
+	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+	</script>
+	<script type="text/javascript">
+	var pageTracker = _gat._getTracker("UA-347527-10");
+	pageTracker._trackPageview();
+	</script>
 </body>
 </html>
\ No newline at end of file




More information about the commits mailing list