Prusak.com

Serving up my thoughts since 2004

Month: October 2008

Does Website Optimizer Append or Merge?

When running an A/B experiment Google Website Optimizer appends any parameters from the original page when redirecting to one of the test pages.

For example, the original page is index.php and the test page is index2.php.
If a user clicks on index.php?name=fred they will be redirected to index2.php?name=fred

So what happens if the test page URL already has a query parameter in it?

For example, the original page is index.php and the test page URL is index2.php?section=b
What will happen if the user clicks on index.php?section=d ?

About seven months ago I had a client with this exact scenario so I tested it.
The user was directed from index.php?section=d to index2.php?section=b&section=d
I found a work-around and didn’t think about it after that.

A few weeks ago I found out that Google was indeed aware of this “issue” and fixed the GWO code 🙂
Now GWO will merge the parameters from the two URLs, not just append them. The parameters defined during setup for the test page URL will get precedence over the parameters from the URL the user clicked on.

For example, the original page is index.php and the test page URL is index2.php?section=b
What will now happen if the user clicks on index.php?section=d&cat=22 ?

They’ll be redirected to index.php?section=b&cat=22

This doesn’t effect 99.99% of all A/B tests, but if it does effect you, Google’s fix is a life saver 🙂

Google Help Pages Feature Request

I’ve been doing a lot of reading on the Google Website Optimizer help pages:
http://www.google.com/support/websiteoptimizer/

For the most part, the help pages are kept up to date, but every now and then something falls between the cracks and I get the feeling the page does not reflect the latest updates.

I was just thinking how every Google help page should really have a time stamp, letting readers know when the page was first created and when it was last updated.

Something like:
This page was created on Sep 20th, 2007 and last updated Oct 24th, 2008.

Any thoughts?

Awesome New Features on Google Analytics

Google just announced some awesome new features on the official Google Analytics blog:

http://analytics.blogspot.com/2008/10/more-enterprise-class-features-added-to.html

Most of the features are “being added to all accounts in the coming weeks”.
This includes advanced segmentation, custom reports, motion charts, and a new Account Management Dashboard.

They’re also going to eventually be releasing a data API, but if you really wanted to, you can already grab the Google Analytics data manually.

I’m impressed.

Avinash also has a great posting on the advanced segmentation function.

Google Website Optimizer and Referer Data

Google Website Optimizer A/B experiments use JavaScript to redirect the visitor to a test pages.

When a visitor is redirected with JavaScript, you loose the original HTTP referer data (the page that did the redirecting now becomes the HTTP referer)

Here’s an example:
Lets say the original page is page.html and we have a test page page_1.html

Before the test, page.html got 1,000 visitors a day coming from Google searches (organic traffic).

So we have Google -> page.html

Now that the test is running you’ll have 500 visitors to page.html:
Google -> page.html

and 500 to page_1.html
Google -> page.html (JavaScript redirect) -> page_1.html

If the web analytics code is after the redirect on page.html (which is what Google tells you to do) then data based on the HTTP referer will be incorrect (traffic source, keywords, etc).

If you REALLY want to capture the HTTP referer related data you can put the analytics code before the redirect. You’ll now be able to capture the original HTTP referer data, but you’ve also just inflated the page views.

I’ve solved this issue for some in-house code that uses the referer data by simply storing the HTTP referer value in a cookie right before the redirect, and then using the cookie value on the test page.

Unfortunately Google Analytics doesn’t do this.

Here’s a feature request for the Google Analytics team:

Add a way pass in the HTTP refer data manually.

I’m sure Website Optimizer isn’t the only tool using JavaScript redirects from a landing page.

Back from the Dead

Hi All,

I just found out today that www.prusak.com has been down for about 48 hours 🙁

I’ve been with my hosting provider – www.DreamHost.com – since 1999 and they’ve been rock solid so I never had any reason to setup any site monitoring services.

Also, I use Google apps for prusak.com email so that was working fine.

After 6 hours I finally got a reply to my urgent help ticket (they don’t have a number you can call for phone support) stating that:

Your domain is not pointed to our nameservers. Due to that, we cannot
update your DNS information if/when we need to change IPs (such as in the
cases of failing over pf services, moving apache instances, or
circumventing DDOS attacks).

Due to the sheer number of sites we host (700,000+) its not particuarlly
plausable to email our customers these changes, as <1% of our customer
base actually manage their own IPs.

Give me a break!

1 – It’s trivial to check which customers manage their own IPs
2 – When you do need to change IPs (which really shouldn’t be that often) I’m guessing only a fraction of your 700,000 sites are affected.

On a side note:
– I changed my DNS to dreamhost (so this won’t happen again)
– I signed up for a few free web site monitoring services. The only one which kept on sending me email while the site was down is BasicState.com (I figure I own them a free link). I’m not crazy about the user interface, but it works.

– Ophir

© 2024 Prusak.com

Theme by Anders NorenUp ↑