|
From: <hs...@us...> - 2011-10-05 13:47:25
|
Revision: 967
http://treebase.svn.sourceforge.net/treebase/?rev=967&view=rev
Author: hshyket
Date: 2011-10-05 13:47:19 +0000 (Wed, 05 Oct 2011)
Log Message:
-----------
Updating Google Analytics script to capture clicks on the links that are for downloading matrices, trees, etc.
Modified Paths:
--------------
trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js
Modified: trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js
===================================================================
--- trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js 2011-09-30 16:40:00 UTC (rev 966)
+++ trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js 2011-10-05 13:47:19 UTC (rev 967)
@@ -21,7 +21,7 @@
startListening(hrefs[l],"click",trackMailto);
} else if (hrefs[l].hostname == location.host) {
var path = hrefs[l].pathname + hrefs[l].search;
- var isDoc = path.match(/\.(?:doc|eps|jpg|png|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3|nex)($|\&|\?)/);
+ var isDoc = path.match(/\.(?:doc|eps|jpg|png|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3|nex|downloadATree|downloadANexusFile|downloadAMatrix|downloadANexusFile|downloadAnAnalysisStep)($|\&|\?)/);
if (isDoc) {
startListening(hrefs[l],"click",trackDownloads);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|