I can highly recommend Daniel's tutorial. It takes a moment to assemble all of 
the code fragments into what you want, and you'll need to define the global 
variable, "$wgJsMimeType = 'text/javascript';", but the code is clean, simple 
and well documented, which means that with a little effort you can extend it to 
do whatever you want it to. For example, when Google updates their code, you 
just paste it into LocalSettings.

Rob



>________________________________
> From: Daniel Friesen <[email protected]>
>To: "[email protected]" <[email protected]> 
>Sent: Sunday, December 25, 2011 5:20 PM
>Subject: Re: [Mediawiki-l] Google Analytics advice
> 
>That extension was never even updated to use GA's async code. So I can't  
>say anyone is maintaining it.
>
>Frankly I see very little value in any of the Google Analytics extensions,  
>the actual code to insert analytics into your wiki as config is small, and  
>putting it directly in your LocalSettings.php instead of using an  
>extension gives you flexibility.
>Hence I've always suggested people roll their own:
>http://www.mediawiki.org/wiki/User:Dantman/Analytics_integration
>
>On Mon, 19 Dec 2011 05:29:58 -0800, david <[email protected]> wrote:
>
>> The code of Google Analytics changes today.
>> Anybody know if this affects the wiki sites using 'Google Analytics
>> Integration' Extension? Or if it is planned a new version of it?
>>
>> Greetings
>>
>> dvdgmz
>>
>> El dj 18 de 08 de 2011 a les 11:50 -0400, en/na Bill Traynor va
>> escriure:
>>> I've been looking at the various GA extensions and can't find one that  
>>> meets
>>> my specific requirements.  I need to be able to track my whole wiki, as  
>>> well
>>> as allow others to track page subsets that they're interested in  
>>> tracking.
>>>  These subset users should not see GA data for the entire wiki.
>>>
>>> Is this a scenario that anyone has encountered or could offer advice on?
>>>
>>> I'm currently experimenting with
>>> http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration  
>>> but it
>>> only allows for 1 GA account number, and includes all pages in the wiki.
>>>
>>> Thanks
>>> Bill
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> [email protected]
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>-- 
>~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
>
>_______________________________________________
>MediaWiki-l mailing list
>[email protected]
>https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to