[Scummvm-git-logs] scummvm-web master -> 778c2979d76ae4da4d89788abe916a2f90164842

Mataniko mataniko at gmail.com
Mon Jul 23 00:09:27 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
778c2979d7 WEB: re-enable google analytics


Commit: 778c2979d76ae4da4d89788abe916a2f90164842
    https://github.com/scummvm/scummvm-web/commit/778c2979d76ae4da4d89788abe916a2f90164842
Author: Matan Bareket (mataniko at gmail.com)
Date: 2018-07-22T18:07:03-04:00

Commit Message:
WEB: re-enable google analytics

Changed paths:
    templates/index.tpl


diff --git a/templates/index.tpl b/templates/index.tpl
index 31487e8..10648ee 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -91,6 +91,14 @@
 {foreach from=$js_files item=script}
 	<script src="/javascripts/{$script}"></script>
 {/foreach}
+{* Google analytics javascript. *}
+	<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+	<script type="text/javascript">
+		_uacct = "UA-1455743-1";
+		_udn = "scummvm.org";
+		urchinTracker();
+	</script>
+{* End Google analytics javascript. *}
 {literal}
 	<script>
 		document.querySelector('.nav-trigger').addEventListener('change', function() {





More information about the Scummvm-git-logs mailing list