S
S
Sergey2020-05-19 14:15:38
MediaWiki
Sergey, 2020-05-19 14:15:38

How to enable web analytics on Mediawiki?

Hello!
We use a wiki for work purposes, which is deployed on a wiki farm.
The Mediawiki engine, the administrators regularly update the version to the current one.
Everything is quite good and convenient, but I would like to see which pages employees visit more, at what time. To these questions. as I understand it, web analytics is responsible. I have not used such a tool before, how can I attach it to the wiki?
The instructions usually suggest embedding the code on each page of the site. I don't have direct access to the console. You can of course ask the admins to make changes.
There are also many extensions on the wiki, maybe the issue can be solved with the built-in tools in Mediawiki or with an existing extension.
Farm: miraheze.org
List of available extensions:
3D
AddThis
HTML Meta and Title
AdminLinks
AdvancedSearch
AJAX Poll
Approved Revs
Article Ratings
Article To Category 2
Author Protect
Auto Create Category Pages
Requires: Permissions - managewiki-restricted
Auto Create Pages
Babel
Blog Page
Requires: Extensions - comments, pollny, socialprofile , voteny
Bootstrap
Calendar-Wikivoyage
Capiunto
Cargo
CategorySortHeaders
CategoryTree
CharInsert
Cite
CiteThisPage
Citoid
Requires: Extensions - cite, visualeditor
CodeEditor
CodeMirror
Collapsible Vector
Collection + Electron (PDF)
CommentStreams
Comments
CommonsMetadata
ContributionScores
CreatePage
CreatePageUw
CreateRedirect
CrossReference
CSS
DataTransfer
DarkMode
Description2
Disambiguator
DisplayTitle
DPLForum
DummyFandoomMainpageTags
DisqusTag
Requires: Permissions -wiki-restricted
DynamicPageList
Conflicts with
dynamicListpage3
DynamicSidebar
EditCount
Edit Subpages Fancy
Box Thumbs
FlaggedRevs
Flow (StructuredDiscussions)
ForcePreview
FontAwesome
Gadgets
Genealogy
GeoCrumbs
GeoData
GettingStarted
GlobalUserPage
GoogleDocs4MW
Graph
GroupsSidebar
GuidedTour
HAWelcome
Conflicts with flow
HeaderFooter
HeaderTabs
HideSection
HighlightLinksInCategory
ImageMap
ImageRating Requires
: Javascripts
-votehowJoBox
Kartographer
LabeledSectionTransclusion
LanguageSelector
Last Modified
LinkSuggest
LinkTarget
LinkTitles
Requires: Permissions - managewiki-restricted
Listings
Loops
MagicNoCache
Maps
MassEditRegex
MassMessage
Math
MediaWikiChat
MobileFrontend
Moderation
MsCalendar
MsCatSelect
MsLinks
MsUpload
Multimedia Viewer
MultiBoilerplate
MyVariables
NewestPages
News
New Signup Message Page
Newsletter with
New User
flow
New User Email Notification
NoTitle
NukeDPL
NumberedHeadings
OpenGraphMeta
PageDisqus
Requires: Permissions - managewiki-restricted
PagedTiffHandler
Page Forms
Page Notice
Page Triage
PDF Embed
PDF Handler
Pipe Escape
Poem
Popups
PollNY
PortableInfobox
Preloader
Requires: Permissions - managewiki-restricted
Proofread Pages
Protect Site
Purge
Quiz
Quiz Game ( SocialProfile)
Requires: Extensions - socialprofile
RandomGameUnit (SocialProfile)
Requires: Extensions - socialprofile
RandomImage
RandomSelection
RegexFunctions
Related Articles
Replace Text
RevisionSlider
RSS
Sandbox Link
Score
ScratchBlocks
Simple Changes
Simple Tooltip
SiteScout
SlackNotifications
Requires: Permissions - managewiki-restricted
SoftRedirector
SocialProfile
Spoilers
SpriteSheet
StopForumSpam
SubPageFun
SubPageList3 TabsCombination
(Tabber + Tabs)
Template Sandbox
Template Text Extracts Theme
Thanks
TimedMediaHandler
Timeline
TitleKey
TOC Tree
Translate
TwoColConflict
UniversalLanguageSelector
UploadsLink
UrlGetParamters
UserWelcome
Requires: Extensions - socialprofile
Variable
VEForAll
VoteNY
VisualEditor
WebChat
Widgets Wikibase
(Client)
Requires: Extensions - wikibaserepository Wikibase
(Repository)
WikiCategoryTagCloud
WikidataPageBanner
WikiForum
WikiLove
WikiSEO
Requires: Permissions - managewiki-restricted
YouTube

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2020-05-19
@xmoonlight

AddThis has good analytics.
But to insert a GoogleAnalytics counter or any of your custom js code - this should, after all, be.
PS: Ask them to make a block for Yandex.Metrica. It shouldn't be hard if they already have a sample of the same AddThis.

U
UksusoFF, 2020-05-19
@UksusoFF

mediawiki.ru/forum/threads/724/#post-2222

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question