[Mediawiki-l] Google Analytics advice

Daniel Friesen lists at nadir-seen-fire.com
Mon Dec 26 22:18:07 UTC 2011


$wgJsMimeType is a core config variable with a default defined in  
DefaultSettings.php, you shouldn't need to set it at all.

On Mon, 26 Dec 2011 10:13:04 -0800, Forest ForTrees  
<forestfortrees at ymail.com> wrote:

> 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 <lists at nadir-seen-fire.com>
>> To: "mediawiki-l at lists.wikimedia.org" <mediawiki-l at lists.wikimedia.org>
>> 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, andputting it directly in your LocalSettings.php instead of  
>> using anextension 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 <dvd at enlloc.org> 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,  
>>>> aswell
>>>> 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
>>>> MediaWiki-l at lists.wikimedia.org
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> --
>> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>>


-- 
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]



More information about the MediaWiki-l mailing list