Page 1 of 3
New Plugin: Google Analytics
Posted: Mon Feb 26, 2007 9:57 am
by kleinerChemiker
You will say, why a new plugin for Google Analytics? A HTML nugget will do it? Maybe, but a HTML nugget won't track downloads and external links.
So, this plugin tracks external links and downloads and of course normal pages.
Download:
http://blog.kleinerchemiker.net/index.p ... &thiscat=2
ToDo: utf8 and german translation
Re: New Plugin: Google Analytics
Posted: Mon Feb 26, 2007 10:03 am
by garvinhicking
Hi!
Hey, that's cool. I like the xtra tracking, and indeed its useful. Just added to spartacus
Please tell me when you've done the german translation! BTW, I removed the last "?>" chars from your PHP files to prevent trouble on windows machines with editors.
Best regards,
Garvin
Posted: Mon Feb 26, 2007 10:28 am
by kleinerChemiker
holt sich spartacus die files aus dem cvs von sf.net? falls ja, wenn ich da zugang hab, könnte ich ich das plugin dort aktuell halten.
Posted: Mon Feb 26, 2007 10:38 am
by garvinhicking
Hi!
Spartacus holt sich die CVS-Files, genau.
Wenn Du CVS Zugriff haben magst, gebe ich Dir gerne, dazu brauche ich nur deinen SourceForge.net Benutzernamen.
Viele Grüße,
Garvin
Posted: Mon Feb 26, 2007 10:47 am
by kleinerChemiker
kleinerchemiker, so wie hier

Posted: Mon Feb 26, 2007 11:05 am
by garvinhicking
Hi!
Super, hab dich hinzugefügt.
Grüße,
Garvin
Posted: Tue Apr 10, 2007 12:53 am
by technician
I just installed this plugin however it's not inserting any code into the blog pages. I have added my account # and set it up according to the instructions but whenever I view source on a page I don't see any code relating to Google Analytics.
The plugin doesn't throw up any error messages, it says successfully saved and that's it. Any idea on why this is happening? Latest version of the plugin and the latest stable version of Serendipity installed.
Posted: Tue Apr 10, 2007 11:09 am
by garvinhicking
Hi!
Could you tell us your URL?
The analytics plugin is listed in the event plugins listing in your s9y admin suite?
Regards,
Garvin
Posted: Tue Apr 10, 2007 3:04 pm
by technician
The URL is
outerheaven.c-reality.com. I just checked and yes, it's listed under event plugins. I did have to install this manually as it wasn't letting me through SPARTACUS (I just copied the folder to /plugins and made it 777).
Posted: Tue Apr 10, 2007 3:57 pm
by garvinhicking
Hi!
Just to be sure, you see the analytics plugin listed on the first page of the Event-Plugins admin panel - not on the follow-up page you see when you click on the link "Click here to install an event plugin"?
Plugins are installed using this link. Only copying it via FTP to your directory does NOT mean a plugin is installed; it just makes the plugin available for installation...
Another question: did you modify the index.tpl template file? It might be you (accidentaly) removed the required plugin hook.
Isee in your HTML output you have a
Code: Select all
<meta content="77KJeXwBSMZNNugxc3S+E1lcFRrBW+w8r8rCo69yyLM=" name="verify-v1" />
HTML field - how did you achieve that? By using a HTML Page Nugget, or by editing the template file?
HTH,
Garvin
Posted: Tue Apr 10, 2007 4:25 pm
by technician
Garvin,
I got it working. What I did was uninstall the plug-in from events first, then I removed the folder via FTP. I then went back in and re-installed the plugin from events using SPARTACUS. This time it went through without any errors and Analytics are working perfectly.
Honestly not sure how this all came about, perhaps it was permissions and then I just installed it incorrectly (you mentioned going through events to install even though I dropped it on the server via FTP, I don't remember doing that). Who knows, either way I appreciate the support. I am running HTML nuggets too BTW. Thanks again!
Posted: Sat May 12, 2007 10:43 pm
by ormus7577
The plugin breaks xhtml validation for some external link tracking. I'll have a closer look, noticed it on a paypal link, that was tracked...
Posted: Mon May 14, 2007 12:35 pm
by kleinerChemiker
Posted: Mon May 14, 2007 8:37 pm
by ormus7577
no offense meant!
The problem occurs, when the tracked url includes an & (ampersand), which have to be escaped for xhtml.
Should be only a minor change, if you can't check it then I'll have a look.
Posted: Tue May 15, 2007 12:26 pm
by kleinerChemiker
do you have an example? the plugin don't change the url, it only adds the js-code.