Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having this problem for quite some time now: I have a WordPress website that is using Google's Custom Search Engine. I want to track what people/visitors are searching on in that Google CSE. Is that possible and how?

share|improve this question
up vote 0 down vote accepted

I want to track what people/visitors are searching on in that Google CSE. Is that possible and how?

Yes, it is possible using Site Search reports in Google Analytics:

  • The Site Search reports in Google Analytics provide data and metrics on how people use search on your site. If you already have a Google Analytics account (using the same Google Account you use for your search engine), we recommend that you configure these reports directly from the Custom Search control panel. The Site Search reports provide the following data:
    • Search usage: What did users search for on your site? Did they refine their searches? Where did they go after searching?
    • Trending terms: What are people searching for?
    • Pages: Which pages on your site have the most search usage?

Follow the instructions here to Configure Google Analytics Site Search. For the "query parameters" in step number 6 there, see the last step here: Install Google Analytics Site Search In 5 Steps

Alternatively, using a front-end search form as covered in this question, you could develop custom tracking suited to your specific needs.

share|improve this answer
Thanks for this! by the way what is google query parameter? because this is required when I am doing the setup. – Rustan Corpuz Sep 12 '13 at 17:10
You're welcome! See step number 5 here – dan Sep 13 '13 at 0:39
Hi. I'll check step 5. Accept means checking it right? sorry I am fairly new to this system. – Rustan Corpuz Sep 13 '13 at 2:54
Yes, no worries. Thanks for feedback - I've updated the answer so others will know what to use for query parameters too. Welcome to the site by the way :-) – dan Sep 13 '13 at 3:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.