You could use urchin.js for both Urchin 5 and Google Analytics. For
example:
<script src="/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_userv=2;
urchinTracker();
</script>
This assumes that you have a local urchin.js uploaded to the root
level of your site. Otherwise you could reference the one on Google's
servers instead:
<script src="
http://www.google-analytics.com/urchin.js" type="text/
javascript"></script>
<script type="text/javascript">
_userv=2;
urchinTracker();
</script>
Either way is fine as long you have _userv=2 in there before the
urchinTracker call. Now of course doing this means that you'll miss
out on any new Google Analytics features that are only available from
the ga.js code. Right now, that mostly means event tracking and
multiple custom variables. In that case, you may want to consider
upgrading to Urchin 6. A lot of Urchin 5 features that weren't
available in earlier versions of Urchin 6 are available in the latest
release, so it's a good time to upgrade.
Using _utm.js and ga.js simultaneously, or urchin.js and ga.js
simultaneously, is not recommended due to potential conflict,
especially at the cookie level. That doesn't mean I haven't seen it
done before with relative success, but it's something to keep in mind
if you decide to go for it and then later start seeing bizarre data in
either Urchin or Google Analytics.
Jeremy Aube
http://www.roirevolution.com/urchin
> >
http://www.analyticspros.com/http://www.twitter.com/analyticsproshttp...