Closed Bug 506276 Opened 15 years ago Closed 15 years ago

Turn on stats tracking for wiki.mozilla.org

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davidwboswell, Assigned: oremj)

References

()

Details

We'd like to be able to track web stats for wiki.mozilla.org.  I'm not sure if mediawiki has stats tracking built in or if we would need to hook this into Urchin (I'm also not sure if there's a reason it hadn't been hooked into Urchin yet).
Assignee: nobody → server-ops
Component: Other → Server Operations
OS: Mac OS X → All
Product: Websites → mozilla.org
QA Contact: other → mrz
Hardware: x86 → All
Version: unspecified → other
Assignee: server-ops → nobody
Group: mozilla-stats
Component: Server Operations → Data/Backend Reports
Product: mozilla.org → Mozilla Stats
QA Contact: mrz → data-reports
Version: other → unspecified
Justin, punting this over to you since it is asking for Urchin.
Assignee: nobody → justin
should this be directed to Actual Metrics?
Assignee: justin → bcutler
Jeremy, can you add the the wiki stats to Urchin?
Assignee: bcutler → server-ops
Group: mozilla-stats
Component: Data/Backend Reports → Server Operations
Product: Mozilla Stats → mozilla.org
QA Contact: data-reports → mrz
Version: unspecified → other
Assignee: server-ops → oremj
Added wiki to urchin and wrote the following extension:
<?php
	function urchinAddScript( &$out, &$sk ) {
		$script = '<script src="/extensions/Urchin/urchin.js" type="text/javascript"></script>
		<script type="text/javascript">
			urchinTracker();
		</script>
		';
		$out->addScript($script);
		return true;
	}
	$wgHooks['BeforePageDisplay'][] = 'urchinAddScript';
?>
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.