Extension talk:GoogleAnalyticsMetrics

Jump to navigation Jump to search

About this board

Kghbln (talkcontribs)

While trying to install the extension on our machine (Ubuntu 16, MW 1.29) both with branch 1.29 and master. Looks like it does not find the Api client Library (Composer installed inside extensions' directory). This is the exception when using the master:

Error from line 203 of /path/to/wiki/w/extensions/GoogleAnalyticsMetrics/GoogleAnalyticsMetrics.hooks.php: Class 'Google_Service_Analytics' not found

Note that this is talk by @Wess: originally posted to the extension's page.

Wess (talkcontribs)


Tosfos (talkcontribs)

@Wess The best way to include the dependencies is to modify (or create) a composer.local.json file in the wiki root. Then run composer update --no-dev from the wiki root. Your composer.local.json file should look something like this:

   "extra": {
       "merge-plugin": {
           "include": [

You can also try something like this. Please confirm if this works for you. Please use the master branch.

Anysite (talkcontribs)
Tosfos (talkcontribs)

You are correct. The documentation is now out of date. We will update it shortly. Thanks!

Reply to "Problems in istallation"
There are no older topics