Index: trunk/extensions/ClickTracking/README |
— | — | @@ -1,13 +1,14 @@ |
2 | | -# ClickTracking lets you track users' clicks on links/buttons. The current implementation tracks clicks on the |
3 | | -# navigation bar - the WikiEditor toolbar makes use of this if present |
| 2 | +# ClickTracking lets you track users' clicks on links/buttons. |
| 3 | +# The current implementation tracks clicks on the navigation bar - the |
| 4 | +# WikiEditor toolbar makes use of this if present |
4 | 5 | |
5 | 6 | # This extension requires MediaWiki 1.17+ because it makes use of ResourceLoader. |
6 | 7 | |
| 8 | +# To track a dynamic action, be sure that $.trackAction( 'something to identify action' ) is called in JS |
| 9 | +# To track an action that has state information associated with it, fire $.trackActionWithInfo( 'action', 'state information' ); |
| 10 | + |
7 | 11 | # Example LocalSettings.php additions |
8 | 12 | |
9 | | -# to track a dynamic action, be sure that $j.trackAction("something to identify action") is called in JS |
10 | | -# to track an action that has state information associated with it, fire $j.trackActionWithInfo("action", "state information"); |
11 | | - |
12 | | -require_once("$IP/extensions/UsabilityInitiative/ClickTracking/ClickTracking.php"); |
| 13 | +require_once("$IP/extensions/ClickTracking/ClickTracking.php"); |
13 | 14 | // Track 1 in every 10 clicks; set to 1 to track all clicks, -1 to disable |
14 | 15 | $wgClickTrackThrottle = 10; |
\ No newline at end of file |