Know What Your Customers Want: Analyze Internal Search Data With Google Analytics
July 31, 2007 by ian
I've seen conversion rates jump by as much as 20% on sites tailored to internal search phrases. To accomplish that, though, you need to know your site's internal search data. What's internal search data? If you know what your customers search for on your site, you can deliver more of what they want. Here's how you can use two free tools to measure internal search.
Google's new Custom Search Business Edition is a great search engine for small to mid-size sites. But it doesn't provide much in the way of useful analytics - a little graph of search volume, and a short list of heavily searched phrases, if you're lucky.
Enter Google Analytics. You can use Google Analytics filters to create detailed, easy-to-read onsite search reports. Here's how:
View this video in Quicktime format: Click here.
Here's the same steps, in text, in case you need them while you set up:
- First, set up your Google custom search engine. If you don't have Google CSE, then see the video tutorial here. You can be up and running in a few minutes.
- Next, log into Google Analytics. If you don't have Google Analytics, see the video tutorials here.
- Go to the Analytics Settings page. You'll see this page when you log in. If not, click 'Analytics Settings' at the upper left of the screen.
- Click 'Edit' next to the reporting profile for your site.
- Under 'Filters Applied to Profile', click 'Add Filter'.
- Set up a filter with these exact settings:
It's very important that you enter this exact formula into the Field A -> Extract A field: q=([^&]*)&sa=Search. This bit of gobbledygook is a regular expression. It's a highly geeky way of getting a computer to go through a bunch of words, characters and random text and find just what you want. If you want to know what it's doing, see the video tutorial, above. - Save changes.
That's it. In about 24 hours, you'll start seeing results. To find your results:
- Log into your Google Analytics account.
- View your report.
- Click 'Content'.
- Click 'Content by Title'.
- Scroll down to 'Find Page Title Containing' and enter 'search2'.
- Voila. You'll see a list of phrases entered into your onsite search tool.
Internal Search Data are the words and phrases site visitors enter into your own web site's search tool:
This data is often completely different from the phrases visitors use to find you on a search engine. It's also a great indicator of what those visitors really want to see when they arrive. Internal search is the best way to find out how your customers use your site. Back to top
Technorati Tags: analytics, Google, Google Analytics, google custom search, internal search









Join the Conversation:
brad says:
August 4, 2007 19:42
great idea. will this work with the regular google search available through adsense?
jaybong says:
August 8, 2007 18:50
Does this work with Google Co-Op custom search engine? - i.e the custom search engine you can build that searches multiple sites.
ian says:
August 8, 2007 19:14
Yes, it'll work. It actually works with any onsite search engine that puts the search phrase in the URL.
Mike says:
September 17, 2007 06:50
Hi,
I tried this with my google co-op search engine and it doesn't seem to work. I still get )*^(& something like that in the content section of analytics. Any ideas?
ian says:
September 17, 2007 15:26
Hi Mike, can you give me some more specifics?...
Mike says:
September 18, 2007 02:21
Hi ian,
Well, I did the exact thing you did Ian. I followed the videos and put the exact line "q=([^&]*)&sa=Search" in filter A and on B what I put is search | $A1. Was that right? I could give you screenshots and more if you want :).
ian says:
September 18, 2007 08:32
Hi Mike,
That's probably the problem right there. Filter B should be left blank. The Output To -> Constructor should be set to 'Page Title' in the drop down, and then search | $A1
Hope that fixes it...
Mike says:
September 19, 2007 03:29
Hi Ian,
I'm sorry. What I meant for filter b was the output to > constructor. I left Filter B blank... . Still doesn't work, thanks for the help btw.
Mike says:
September 22, 2007 03:59
Hi Ian,
I sent you the screenshots, did you get it?
ian says:
September 22, 2007 11:11
Hi Mike,
I apologize, but I haven't, or I missed 'em. Send them again and I'll look more carefully, I promise.
Ian