Urchin 6 and Google Analytics problems

7 views
Skip to first unread message

Lee L

unread,
Jul 10, 2009, 8:37:32 AM7/10/09
to Urchin Software from Google - help forum - Urchin 6
I've read several discussions here about Urchin 6 and Google
Analytics, and I've tried several different adjustments and none seems
to work. My Google Analytics javascript looks like this:

var pageTracker = _gat._getTracker("UA-xxxxxxx-1");
pageTracker._setDomainName(".mydomain.org");
pageTracker._setAllowHash(false);
pageTracker._setAllowLinker(true);
pageTracker._initData();
pageTracker._setLocalRemoteServerMode();
pageTracker._trackPageview();


Adding the setLocalRemoteServerMode works, or at least I can see in
the live headers that my local __utm.gif file is being hit (before
this, I could see that it was the Google Analytics remote __utm.gif).
My Google Analytics data is the same, so that is working correctly.

My Urchin data is not being recorded correctly. Everything is blank
or a zero except the IT reports, which show that files are being
accessed. I am logging cookie data, so that shouldn't be the problem.

Thanks,
Lee

Dennis Osmolovski

unread,
Jul 10, 2009, 5:46:41 PM7/10/09
to urchin...@googlegroups.com
Hello, Lee,

From your post I see that you are trying to use ga.js tracking code together with Urchin. While we don't officially support 100% compatibility between Urchin and GA tracking codes, there are few tricks that you can do. First tell me if you use urchin.js tracking code, and if yes, where do you have it on your html page (header or and of the page, before, after GA tracker, what mode do you use for it (local, remote))? 

More info will be helpful to address your issue correctly. 
--
Best Regards,
Dennis

Lee

unread,
Jul 21, 2009, 9:06:22 AM7/21/09
to Urchin Software from Google - help forum - Urchin 6
Thanks for responding, Dennis.

I don't have urchin.js in use anywhere on my pages. The ga.js follows
the closing body tag, and appears just before the code I posted
earlier.

I've managed to get some data to show up in reports, but it seems like
it's only secure (https) pages. The secure pages show up in the top
content report, while the other pages still show up in the pages &
files IT report.

Thanks again for your help.


On Jul 10, 5:46 pm, Dennis Osmolovski <osmolov...@google.com> wrote:
> Hello, Lee,
> From your post I see that you are trying to use ga.js tracking code together
> with Urchin. While we don't officially support 100% compatibility between
> Urchin and GA tracking codes, there are few tricks that you can do. First
> tell me if you use urchin.js tracking code, and if yes, where do you have it
> on your html page (header or and of the page, before, after GA tracker, what
> mode do you use for it (local, remote))?
>
> More info will be helpful to address your issue correctly.
> --
> Best Regards,
> Dennis
>

Lee

unread,
Jul 21, 2009, 9:11:04 AM7/21/09
to Urchin Software from Google - help forum - Urchin 6
Sorry, I meant to say the ga.js appears just before the closing body
tag.

Dennis Osmolovski

unread,
Jul 21, 2009, 7:03:33 PM7/21/09
to urchin...@googlegroups.com
Ok. I see. Start with installer guide on how to setup Tracking mode using either IP-User Agent or UTM-Tracking modes, according to instructions posted here: https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(Windows)_6.6?highlight=(urchin.js)

Let me know how it goes. 
--
Best Regards,
Dennis

Jeremy A

unread,
Jul 22, 2009, 8:12:03 AM7/22/09
to Urchin Software from Google - help forum - Urchin 6
While officially Urchin is only compatible with the urchin.js version
of Google Analytics, I thought I would point out that you should
remove the pageTracker._initData(); line. _initData is deprecated, of
course, and putting anything in between _initData and _trackPageview
is a good way to cause problems. It may be that the code is working
correctly sometimes, such as on secure pages, but it's possible that
the pageTracker._setLocalRemoteServerMode(); is being ignore on most
pages because it's between _initData and _trackPageview.

Other than that, if you can see the hits, you see the entries in your
logfiles, and you see the cookies in your logfiles, then you should
make sure all your __utm.gif hits are status code 200. It may be that
you have the __utm.gif file uploaded to your secure domain, but not to
your unsecure domain.

Jeremy Aube
ROI Revolution

On Jul 21, 7:03 pm, Dennis Osmolovski <osmolov...@google.com> wrote:
> Ok. I see. Start with installer guide on how to setup Tracking mode using
> either IP-User Agent or UTM-Tracking modes, according to instructions posted
> here:https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(Wind...)
> <https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(Wind...)>Let
> me know how it goes.
> --
> Best Regards,
> Dennis
>
Reply all
Reply to author
Forward
0 new messages