Version 1.2.0
119 downloads
GTag Extension for MediaWiki
The GTag extension lets you insert the new Google Analytics tracking tag on your MediaWiki site (gtag.js).
Requirements
MediaWiki 1.34 or later
Installation
Download the file (a free account is required) and extract the file to your extensions directory. We recommend that you "follow" the download so that you are notified of new updates via email when they are released.
To install the extension, add the following to your LocalSettings.php file:
wfLoadExtension( 'GTag' );
$wgGTagAnalyticsId = 'UA-XXXXXXXX-X or G-XXXXXXXX'; // replac