From 8129812419467b86dcbef725cbfc77371b8cf086 Mon Sep 17 00:00:00 2001
From: Seth Meranda <smeranda2@unl.edu>
Date: Thu, 2 Sep 2010 16:51:08 +0000
Subject: [PATCH] Track the hash links in Google Analytics.

---
 www/templates/html/UNL/TourMap/GoogleMap.tpl.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/templates/html/UNL/TourMap/GoogleMap.tpl.php b/www/templates/html/UNL/TourMap/GoogleMap.tpl.php
index 7c3fbd8d..dd92ae8b 100644
--- a/www/templates/html/UNL/TourMap/GoogleMap.tpl.php
+++ b/www/templates/html/UNL/TourMap/GoogleMap.tpl.php
@@ -59,6 +59,8 @@ UNLTourMap = new function() {
             var code = location.hash.replace('#', '');
             WDN.log("we have a hash: "+code);
 
+            WDN.analytics.callTrackEvent('UNL_Map', 'showBuilding', code);
+            
             if (code) {
                 UNLTourMap.panToBuilding(code);
                 UNLTourMap.openBuildingInfo(code);
-- 
GitLab