rECLT/e56688fe2249master
rECLT/
e56688fe2249master
/
/
README
README
- ClickTracking lets you track users' clicks on links/buttons.
- The current implementation tracks clicks on the navigation bar - the
- WikiEditor toolbar makes use of this if present
This extension requires MediaWiki 1.17+ because it makes use of ResourceLoader.
- To track a dynamic action, be sure that $.trackAction( 'something to identify action' ) is called in JS
- To track an action that has state information associated with it, fire $.trackActionWithInfo( 'action', 'state information' );
Example LocalSettings.php additions
require_once("$IP/extensions/ClickTracking/ClickTracking.php"); // Track 1 in every 10 clicks; set to 1 to track all clicks, -1 to disable $wgClickTrackThrottle = 10;
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL