Install Google Analytics Site Search In 5 Steps

On Friday, Google added Site Search to Google Analytics. Site search lets you track the phrases visitors use in your onsite search tool, as opposed to the search phrases they use on search engines.

This information is gold: If you know what folks are looking for on your site, you can make sure it’s available from your home page, increase conversion rates, and have happier visitors.

Setting it up is a cinch – far easier than the roundabout hack I created a few months ago. It takes only 5 very easy steps:

Step 1: Log In To Google Analytics

If you don’t already have a Google Analytics account, you’ll need to create one. You can follow my video tutorial here.

Step 2: Edit the Profile

Click ‘Edit’ next to the profile to which you’ll add site search:

Edit the Profile

Step 3: Click Edit Again

Yup, I know, it’s an extra step. But it’s an easy one. On the Profile Settings page, click ‘edit’:

Profile Settings Page

Step 4: Add Site Search

On the Profile Information page, click ‘Do Track Site Search’.

Add Site Search

As soon as you do that, the Query Parameter form will appear:

Query Parameter form

If you’re not familiar with the term ‘query parameter’, the next step is a bit tricky, but doable…

Step 5: Enter the Query Parameter

First, you’ll need to figure out what the query parameter is:

  1. Open a new browser window or tab.
  2. In that window, open your site.
  3. In the search box on your site, search for ‘klatuberada’. (Use whatever you want – I just like that phrase.)
  4. Cut and paste the URL of the search results page into a text editor.
  5. In the URL, find the phrase you searched. You’ll see something like this:http://www.conversationmarketing.com/searchresults.htm?cx=007596975322806826722%3Afgregcj2pqy&cof=FORID%3A11&q=klatuberada&sa.x=0&sa.y=0&sa=Search

    In this case, the query parameter is the letter ‘q’. Ignore everything else.

Enter the query parameter into the site search form:

Query Parameter
Don’t worry about any of the other fields just yet.

That’s it – you’re done. Click ‘save’, and Google Analytics will start tracking site search phrases.

Tomorrow, I’ll talk a bit about what you can do with the site search data that Google Analytics provides.

Tags:

Ian Lurie
/ @portentint
Portent's Founder & CEO

Ian Lurie is founder and CEO of Portent Inc., an internet marketing agency that has provided internet marketing, including PPC, SEO, social and analytics services, since 1995. more >

Comments

12 Responses to “Install Google Analytics Site Search In 5 Steps”

  1. sjljomo - November 7, 2007 at 2:24 pm #

    Very interesting. A bit ahead of my learning curve, but good information to know for when I reach that part of the curve.

  2. Tom - May 27, 2008 at 11:28 pm #

    Does anyone know how long it usually takes before the site search will start displaying results in analytics? I activated the site search a couple of days ago but still no data recorded for site search…

  3. Ian - May 28, 2008 at 1:46 pm #

    @Tom 24-48 hours, tops.

  4. wan - November 1, 2008 at 6:04 pm #

    hey thanks for the tutorial.easy to understand thanks to the screenshot. better tutorial than google help itself. keep up the good works :)

  5. brian - November 5, 2008 at 7:19 am #

    I don’t use normal querystring parameters in my site search. The urls get written like this:
    http://dietsinreview.com/search/term/
    Anyone know how I can setup site search for analytics?

  6. Ian - November 5, 2008 at 9:20 am #

    @Brian does the search term come after ‘term/’?

  7. analogstuff - March 23, 2009 at 6:46 am #

    Thanks for sharing this information ian. I have been looking for this information for quite some time. I have a question for you. What other query parameters we need to include other than Q in the query parameter box in google site search?

  8. joseph - July 23, 2009 at 10:06 pm #

    Great tutorial – believe it or not, all the darn tutorials on the net never thought to explain how to use a Google Site Search in Google Analytics (not like google users use multiple products of theirs, eh?) and google’s site help was even vague. You cut straight to the point, thanks!

  9. prabhakar - September 24, 2009 at 10:45 pm #

    Similar to what Brian has posted above, we too do not have a normal query string in our site search result page. The url gets rewritten as http://www.holidayiq.com/vacation/search.php
    where ‘vacation’ is the search term. Can some one tell how to set up the site search in such a case?

  10. Tracy - April 2, 2010 at 3:09 pm #

    Thank you so much! The Google “help” is no help at all. This was perfect.

  11. Jeremy Lim - April 7, 2010 at 12:41 am #

    Agreed, Google really needs to fix up their instructions. Much appreciated!

  12. jane - February 4, 2011 at 10:28 am #

    Thanks for the screen shot and clear instructions, which helped me understand what the query parameter is.