Extension talk:Google Analytics Links

From mediawiki.org
Latest comment: 14 years ago by Jake4d in topic Is this extension of use anymore?

Any Questions?

Yes: you wrote in your documentation: >two questions posted here and here. But the two links do not work anymore.

So I can't find our, what this extension is all about. Please document the purpose of this extension without these external links.


Yes, I searched around the mediawiki manual to find out what is meant by Syntax. I'm afraid I don't understand. I've never installed an extension before. I can copy the php to a new file in the extensions folder and I can change local settings. But what is Syntax and what do I do with it?

Also, where do I encode the Google tracking string? You refer to it in some comments at the end of your explanation but I don't see where it goes.

Can you help?

It's an example of how you might use the extension, with example values for the extension's options.

Rewriting all external urls?[edit]

This extension is a nice idea, but the power of analytics is not really used, if you don't rewrite all links. So you have to go and look for every single external link, then change the code on each and every one of them. Is there a way to do this maybe in a way so it handles all external urls? Simon Moon 02:08, 29 July 2007 (UTC)Reply

This extension solves problems primarily with links to files (and external links in certain cases) - What it does is give Google (urchinTracker) a directory(folder) to assign the link to. I.E. A page won't be loaded that's running urchin.js, so the only way to track the link is to manually call urchinTracker(); and assign the hit to a particular folder (or page or whatever). I wrote one for full MW site integration if that's what you're looking for: Extension:Google Analytics Integration
--Tim Laqua 03:22, 29 July 2007 (UTC)Reply
What i am talking about is the ability to change the behavior of MediaWiki when you have something like [http://www.google.com Google] to be automatically have the analytics code for the URL attached in the HTML output. Might need a configuration variable like whats the base URL (for most its /outgoing/ anyways) but in general it is the idea to have this in the wiki so you do not have to go and add it by hand like in this analytics links extension. Simon Moon 22:06, 2 August 2007 (UTC)Reply

Is this extension of use anymore?[edit]

If there is a better Google Analytics extension available, is there a need for this extension anymore? If so, please explain what this is for in the leader at the top of the extension page. Thanks--Jake4d 05:31, 8 May 2009 (UTC)Reply

how to implement this?[edit]

Hi all,

so in already installed the analytics integration. now i installed this extension as well. What do i do after i've ffollowed the instructions on the page? How to i actually measure the outbound links? Is there anything that i have to change in wiki page?

thanks!