Hi All,
I was just tinkering with getting google analytics to work with
tiddlywiki and looking at some old thread here:
http://groups.google.com/group/TiddlyWiki/browse_thread/thread/48df4800bfedca92

It seems that the first good solution was (the link from the old
thread is broken, but this works):
http://hawksworx.posterous.com/tracking-tiddlywiki-with-google-analytics

and a follow up that nicely executes the tracking only when viewed in
readonly which avoids tracking while editing the tiddlywiki:
http://blog.spacelag.com/2007/10/tracking-tiddlywiki-with-google.html

Following the above, I got googleanalytics working in just a couple
minutes, so yay! However, it appears to have broken
SinglePageModePlugin and possibly a couple other things. Now I suspect
that this is because the tiddler one creates called CustomTracker is
tagged with systemConfig but is executed in an order that breaks
things. Possibly before InlineJavascriptPlugin? Or perhaps it just
needs to be called after SinglePageModePlugin, but I can't see why. In
any case, I seem to have fixed the issue by renaming the CustomTracker
to zCustomTracker (and adding a z to all the calls within it) so that
it is called later in the loading. The only systemConfig tagged
tiddler that loads after is then my zzConfigTweaks which forces
setting a couple of options that aren't always preserved.

Does that make sense to anyone? Is there a 'cleaner' way to fix this?

Thanks,
JDR

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to