The developers of Google Website Optimizer have tried their hardest to make their product work in tandem with Google Analytics. Here at VKI, we have found that for the most part, they work great together. However, there are a few situations where GWO can interfere with GA or vice versa. Here is one such situation.
The Problem
There is a well-known problem when implementing an A-B test in Website Optimizer on a page that has Google Analytics installed. If you follow the instructions for installing the control script, and place it right at the top of the original page, you will lose referral information about how visitors got to the landing page. A detailed explanation of the problem and the solution can be found on Ophir Prusak's blog.
This solution fixes all the referral information except for when visitors come in by a campaign from a search engine (for example AdWords). In this case, one little piece of information is lost: the search terms a visitor typed in to the search engine when they saw your campaign.
Here's how it works:
[More]