Extension:Google Analytics Integration/ru

Это расширение помещает код Google Universal Analytics в каждую страницу MediaWiki. Exclusion of specific pages, namespaces, special pages and all pages for specific groups of users is configurable.

This extension may be outdated for your needs. If you are using the new Global Site Tag for Google Analytics, try using Extension:HeadScript instead.

Alternatively you can put Google Analytics tag directly into MediaWiki:Common.js of your wiki.

Использование

 * 1) Create a Google Analytics account
 * 2) Locate your UA number
 * 3) * For the legacy code block, it can be found on the following line: _uacct="UA-xxxxxxx-x";
 * 4) * For the new ga.js code block, it can be found on the following line: var pageTracker = _gat._getTracker("UA-xxxxxxx-x");
 * 5) Follow Installation Instructions
 * 6) Google Analytics stats should start populating within 24-48 hours.

См. также

 * Extension:GTag - Allows to add Google Analytics tracking to pages using "gtag.js".
 * Extension:GoogleAnalyticsMetrics - Provides site-wide metrics.
 * Extension:Matomo - Similar extension using Matomo, formerly Piwik.