How Do I add Google Analytics Extension

Use this forum to ask questions about how to do things with my MediaWiki Extensions.

How Do I add Google Analytics Extension

Postby aleforce » February 23rd, 2008, 6:30 pm

First, Thanks for the great skin! Definitely the best I have found!

I am completely new to php and MediaWiki and am stuggling my way through this... so please bear with my ignorance.

I downloaded and installed the "Extension:Google Analytics Integration"
(http://svn.wikimedia.org/viewvc/mediawi ... hrev=29077) in order to use Google Analytics on the site (with GuMax 3.4.1).
I also modified Local Settings as explained http://www.mediawiki.org/wiki/Extension ... ntegration.

However, (I think) the extension is written for Monobook and I am not sure how to get it to work for the GuMax skin. Any ideas on how I could accomplish this?

In advance many thanks for the help.
User avatar
aleforce
Rank 0
Rank 0
 
Posts: 2
Joined: February 23rd, 2008, 6:16 pm

Re: How Do I add Google Analytics Extension

Postby aleforce » February 25th, 2008, 2:35 pm

Never mind, I figured out a work around: I didn't realize that I could simply add the GA snippet just before the body tag .... which I did: problem solved.
User avatar
aleforce
Rank 0
Rank 0
 
Posts: 2
Joined: February 23rd, 2008, 6:16 pm

Re: How Do I add Google Analytics Extension

Postby Paul » February 25th, 2008, 11:24 pm

Thanks for sharing :D .
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How Do I add Google Analytics Extension

Postby eddron » April 1st, 2008, 7:06 pm

Is this true? The extension doesn't work with the Gumax skin?

A few days ago I installed version 2 with my mediawiki 1.11.2 and my gumax skin. Google analytics says that it recognizes the code but it seems weird because my traffic has died. I know that one person registered this morning and two other people simply visited (I asked them to visit). Yet 5 hours later still no traffic. I know it's not the delay because my blog is showing healthy traffic.

Is there a compatibility issue with something? Any suggestions?
...this is not an April Fools joke. :D
User avatar
eddron
Rank 2
Rank 2
 
Posts: 14
Joined: October 22nd, 2007, 8:03 pm

Re: How Do I add Google Analytics Extension

Postby Paul » April 1st, 2008, 9:57 pm

I'm not sure, since I never try that plugin. :oops:
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How Do I add Google Analytics Extension

Postby Lakes » December 5th, 2008, 3:23 am

Try this:
http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration

No clue if it works (I just did it and it hasn't been long enough to see my results) but it looks pretty solid.
User avatar
Lakes
Rank 2
Rank 2
 
Posts: 12
Joined: November 28th, 2008, 6:57 pm

Re: How Do I add Google Analytics Extension

Postby Paul » December 5th, 2008, 9:05 am

I will give a try, thanks for sharing ... :D
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How Do I add Google Analytics Extension

Postby Lakes » December 10th, 2008, 12:15 pm

I just checked out my analytics and it seems to be working just fine! SO that extension should be good to go.
User avatar
Lakes
Rank 2
Rank 2
 
Posts: 12
Joined: November 28th, 2008, 6:57 pm

Re: How Do I add Google Analytics Extension

Postby Paul » December 15th, 2008, 4:17 am

Excellent, thanks for feedback...
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How Do I add Google Analytics Extension

Postby ozcam » March 1st, 2011, 3:08 am

Hi All
I'm still having trouble with Google Analytics Extension.. have tried the plug in mentioned but this does not work either
User avatar
ozcam
Rank 0
Rank 0
 
Posts: 1
Joined: March 1st, 2011, 2:58 am


Return to MediaWiki Extensions 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron