[aida] Use Google Analytics on AIDA/Web

Janko Mivšek janko.mivsek at eranova.si
Mon Sep 15 12:01:59 CEST 2008


Вася Чайко wrote:

> I wish to use on a site google analytics, i.e. to me it is necessary to 
> add on each page of a site some lines in head. Whether if a simple way 
> to make it?

The simplest is to add requested HTML code as plain text to your 
element, for instance:

	e addText: '<span>this is some HTML text</span>'

Nicer would be to make a subclass of element and put all needed in it, 
let's say GoogleAnalyticsElement.

Well, I would be interested in such element for addition to Aida ... :)

Janko

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list