https://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration
I am familiar and have used this extension for years. Trying to upgrade to the new "enhanced" code.
The Installation Instructions say to: 1. Download. -Check 2. Add following code to LocalSettings (replacing XXX with my #) -Check 3. Check Special:Version to see that it installed successfully - Check.
Then the Useage directions say 1. "Create GA account" -Check. 2. "Locate UA number" -Check. Then it lists two lines of code, one for legacy, one for new, then follow installation instructions??!?!?! What good does "locating your UA" and listing two lines of code DO? Inotherwords, what do you do with the line of code? Do you put it in LocalSettings? No, that will break your site. I have no idea what to DO with the code that I've located, and the writer of the usage instructions forgot to say what to do with it either. All I know is GA says the new code isn't working. Help!
This post was posted by Eckre~mediawikiwiki, but signed as Eckre.