Extension:Quantcast
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | SkinCategory:Skin extensions |
Description | Adds Quantcast tracking JS code to all pages |
Author(s) | Jack Phoenixtalk |
Latest version | 0.4.0 (2016-08-15) |
MediaWiki | 1.43.1+Category:Extensions with manual MediaWiki version |
License | Public domain |
Download | Category:Extensions in Wikimedia version control |
Example | WikiGardener |
|
|
Quarterly downloads | 0 |
Translate the Quantcast extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The Quantcast extension adds Quantcast tracking JavaScript code to all pages for all users (except those who are in a group that is excluded).
This extension was written by Jack Phoenix for ShoutWiki.
Installation
- Create MediaWiki:Quantcast-tracking-number on your wiki with your Quantcast tracking code (this code is usually something like p-b0cm0JUH0b-sA)
- Download and move the extracted
Quantcast
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Quantcast - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'Quantcast' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Parameters
- $wgQuantcastTrackingExcludedGroups — an array of groups that are excluded from Quantcast tracking. By default the array contains only the
staff
group. Use internal group names (such assysop
, not administrator or administrators) here.
Category:All extensions
Category:Extensions by ShoutWiki
Category:Extensions in Wikimedia version control
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:Public domain licensed extensions
Category:SkinAfterBottomScripts extensions
Category:Skin extensions
Category:Stable extensions