Difference between revisions of "Widget:LogMissing"

From Computational Memory Lab
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<script type="text/javascript">
 
<script type="text/javascript">
 +
 +
var _gaq = _gaq || [];
 +
_gaq.push(['_setAccount', 'UA-36307748-1']);
  
 
  _gaq.push(['_trackEvent', 'WikiError', 'MissingPage1', '<!--{$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 ]);
 
  _gaq.push(['_trackEvent', 'WikiError', 'MissingPage2', 'page: ' + document.location.pathname + document.location.search + ' ref: ' + document.referrer ]);
 +
 +
_gaq.push(['_trackPageview']);
 +
(function() {
 +
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
 +
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 +
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 +
})();
  
 
</script>
 
</script>
 
</includeonly>
 
</includeonly>

Revision as of 15:50, 23 January 2013