Difference between revisions of "Widget:LogMissing"

From Computational Memory Lab
Jump to: navigation, search
Line 2: Line 2:
 
<script type="text/javascript">
 
<script type="text/javascript">
  
  _gaq.push(['_trackEvent', 'WikiEvents', 'LogMissing', '<!--{$pagename|escape:'quotes'}-->']);
+
  _gaq.push(['_trackEvent', 'WikiError', 'MissingPage1', '<!--{$pagename|escape:'quotes'}-->']);
 
+
_gaq.push(['_trackEvent', 'WikiError', 'MissingPage2', 'page: ' + document.location.pathname + document.location.search + ' ref: ' + document.referrer ]);
  
 
</script>
 
</script>
 
</includeonly>
 
</includeonly>

Revision as of 15:48, 23 January 2013