Not logged in. · Lost password · Register
Forum: Customising UNB Modifications and plug-ins Plug-in gallery RSS
Google Analytics plug-in
Avatar
Saxtus #1
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
Subject: Google Analytics plug-in
Inspired from halr9000's plug-in try, I made an easy to use plug-in that uses the new Google Analytics tracking code (ga.js) instead of Urchin one. It also place it (correctly) after the footer of the page instead of the page's head.

The script is inserted when a code is passed at the config page of the plug-in. If it's empty, script will be omitted.
There is no check about the validity of the Google Analytics code.
Good luck with it.

Version history:
  • Version 1.0 [2008-03-28]: First public release.
The Answer to Life, the Universe, and Everything = 42
The author has attached one file to this post:
googleanalytics_20080328.rar 1.6 kBytes
You have no permission to open this file.
This post was edited on 2008-03-28, 12:57 by Saxtus.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 156.1 ms (65.6 ms) · 34 database queries in 122.1 ms
Current time: 2012-02-04, 03:14:19 (UTC +01:00)