Skip to content

This MediaWiki extension provides a way to configure Fathom Analytics for your MediaWiki powered wiki.

License

Notifications You must be signed in to change notification settings

prplecake/MediaWiki-FathomAnalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FathomAnalytics

This MediaWiki extension provides a way to configure Fathom Analytics for your MediaWiki powered wiki.

Installation

  1. Either download a release or clone this repository. The extension files should end up in a directory called FathomAnalytics inside your extensions/ directory.

  2. Add the following to the bottom of your LocalSettings.php:

    wfLoadExtension( "FathomAnalytics" );
  3. Done!

Configuration

The following variables configure this extension:

  • $wgFathomAnalyticsURL - defaults to http://cdn.usefathom.com/script.js. Set if you use a custom domain to serve script.js.
  • $wgFathomAnalyticsSiteID - the Fathom Site ID for your site.

Example

wfLoadExtension( "FathomAnalytics" );
$wgFathomAnalyticsURL = "https://candle.example.com/script.js";
$wgFathomAnalyticsSiteID = "ABCDEFGH";

About

This MediaWiki extension provides a way to configure Fathom Analytics for your MediaWiki powered wiki.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages