Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Site Related Forums
 The Yak Corral
 Google Analytics

Author  Topic 

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2006-11-16 : 10:50:12
I'm grasping at straws posting this here.

Everytime I email google with this question, I get an automated reply that points me to the same documentation that doesn't answer my question.

I have http://www.mysite.com and http://mysite.com that both resolve to the same place. I currently have my profile set up with the URL as http://www.mysite.com and my tracking code uses the "_udn='www.mysite.com';" parameter as instructed by the FAQ on tracking sub-domains. Obviously, mysite.com isn't a subdomain of www.mysite.com ... really it is the other way around.

So should I setup the profile to look at http://mysite.com and have the _udn on the www pages point to 'mysite.com'? Or is the way I have it ok?

Anybody played with this stuff?

Jay

Jay White

Kristen
Test

22859 Posts

Posted - 2006-11-16 : 13:46:23
We just put:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-123456-1";
urchinTracker();
</script>

in our pages and that's that. We use this on multiple domain names [i.e. owned by a client of ours] and they all get aggregated "as one" - AFAIK - I know this because we get in trouble when doing stuff on the TEst sites because they have identical G.A. codes, and it mucks up the Live site stats!.

The "-1" on the end is the "scenario" we are logging to on G.A., and they are segregated, for a single account. SO for some of our domain names (e.g. the end user ones) we use "-1", and for others (e.g. Trade Account ones) we use "-2"

Kristen
Go to Top of Page

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2006-11-16 : 13:54:32
hum ... interesting. According the the FAQ, Kristen, that shouldn't work. Multiple domains will not be aggregated together, regardless of the _uacct you give. I'll just have to play with it more ...

Jay White
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-11-16 : 14:04:49
Sorry, I may have lied. The examples I'm referring to ARE sub domain variants, which you mentioned at the get-go.

Nice as GA is I get very fed up that I can't see whether my "experiment" today has done any good until tomorrow, which dramatically extends the elapsed time for a project - usually way past the "critical marketing event" that the client is keen to monitor.

Mind you .. you get what you (don't) pay for, I suppose.

Kristen
Go to Top of Page

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2006-11-16 : 14:14:19
Yeah, I'm going blind here, but I've settled on using mysite.com as the site and when someone goes to www.mysite.com (subdomain) I have the _udn param set. I guess it is working, but like you said, I'll know more tomorrow.

Jay White
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-11-16 : 15:40:28
"I guess it is working, but like you said, I'll know more tomorrow."

God! that part of the process makes me angry. If I wanted to program through a letter box I would have become a postman ...
Go to Top of Page

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2006-11-16 : 15:45:14
OTOH, could you image the overhead of real-time or near-real-time updates to the underlying OLAP framework?

Jay White
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-11-16 : 15:57:28
With the data we log about who-does-what on our systems the concept of analysing it for "Goals" is piss-easy. Just I never had the thought to do it that way ... until now! (Thanks GA!)

And its crap to try to analyse it based on URLs - unless that's all you've got of course. Same with WebTrends and other such tools.

We post our forms back to themselves; if the Post is successful the "page" displays something different. But the URL is the same on both the Form and the Outcome. Not much hope of analysing the Goals from that then! (at least not without interventionist programming). Of course in our own in-house logs we log the Outcome as-it-really-is, so reporting on our own data is more informative.

From there the Sessions and Average-page-views-per-session is an obvious reporting statistics, even to me, but coupling that with "Goals achieved" and "Revenue raised" gets even a marketing-Luddite like me excited to try to try initiatives that will raise-the-game.

Integrating my in-house stuff to pull AdSense/Adwords data and analyse it "inclusively" may be a little harder I suspect Still, they have to make their Billions somewhere I guess!

Kristen
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-11-16 : 16:10:41
so guys... you got any pages that you made that can be viewed by us?
i'm curious...



Go with the flow & have fun! Else fight the flow
blog thingie: http://weblogs.sqlteam.com/mladenp
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-11-16 : 16:43:51
I can make you some JPGs, but I can't really give you a Login to my client accounts ... now, if you flew over and stayed for a couple of days then it would be easy to show you around, of course. I could even get a couple of dancing girls in for the evening ...

Kristen
Go to Top of Page

elwoos
Master Smack Fu Yak Hacker

2052 Posts

Posted - 2006-11-17 : 03:36:13
quote:
... stayed for a couple of days then it would be easy to show you around, of course. I could even get a couple of dancing girls in for the evening ...


Kristen, never mind Spirit, I'M on my way Give nme a couple of hours, hmm actually on a Friday Spirit will probably get there first!!


steve

-----------

Don't worry head. The computer will do all the thinking from now on.
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-11-17 : 05:10:35
make them

you know i just might take you up on that...
one day i'll fly over and i'll be expecting those girls
when you least expect it!



Go with the flow & have fun! Else fight the flow
blog thingie: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
   

- Advertisement -